mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
24 lines
670 B
C++
24 lines
670 B
C++
// Copyright 2021 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef BASE_FILES_FILE_PATH_WATCHER_INOTIFY_H_
|
|
#define BASE_FILES_FILE_PATH_WATCHER_INOTIFY_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "base/base_export.h"
|
|
|
|
namespace base {
|
|
|
|
// Overrides max inotify watcher counter for test.
|
|
class BASE_EXPORT ScopedMaxNumberOfInotifyWatchesOverrideForTest {
|
|
public:
|
|
explicit ScopedMaxNumberOfInotifyWatchesOverrideForTest(size_t override_max);
|
|
~ScopedMaxNumberOfInotifyWatchesOverrideForTest();
|
|
};
|
|
|
|
} // namespace base
|
|
|
|
#endif // BASE_FILES_FILE_PATH_WATCHER_INOTIFY_H_
|