Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: chrome/browser/chromeos/file_system_provider/registry_interface.h

Issue 674413002: [fsp] Rename ObserveEntry with AddWatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/file_system_provider/registry_interface.h
diff --git a/chrome/browser/chromeos/file_system_provider/registry_interface.h b/chrome/browser/chromeos/file_system_provider/registry_interface.h
index 6e68a0c07ccf111e34bd9e4a663aaa462c450c07..3ef80f78d5bacdcf5bd42bfa6813c0620d167641 100644
--- a/chrome/browser/chromeos/file_system_provider/registry_interface.h
+++ b/chrome/browser/chromeos/file_system_provider/registry_interface.h
@@ -10,8 +10,8 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/chromeos/file_system_provider/observed_entry.h"
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
+#include "chrome/browser/chromeos/file_system_provider/watcher.h"
namespace chromeos {
namespace file_system_provider {
@@ -21,7 +21,7 @@ class RegistryInterface {
public:
struct RestoredFileSystem;
- // List of file systems together with their observed entries to be remounted.
+ // List of file systems together with their watchers to be remounted.
typedef std::vector<RestoredFileSystem> RestoredFileSystems;
// Information about a file system to be restored.
@@ -31,7 +31,7 @@ class RegistryInterface {
std::string extension_id;
MountOptions options;
- ObservedEntries observed_entries;
+ Watchers watchers;
};
virtual ~RegistryInterface();
@@ -40,7 +40,7 @@ class RegistryInterface {
// reboot.
virtual void RememberFileSystem(
const ProvidedFileSystemInfo& file_system_info,
- const ObservedEntries& observed_entries) = 0;
+ const Watchers& watchers) = 0;
// Removes the file system from preferences, so it is not remounmted anymore
// after a reboot.
@@ -53,10 +53,9 @@ class RegistryInterface {
virtual scoped_ptr<RestoredFileSystems> RestoreFileSystems(
const std::string& extension_id) = 0;
- // Updates a tag for the specified observed entry.
- virtual void UpdateObservedEntryTag(
- const ProvidedFileSystemInfo& file_system_info,
- const ObservedEntry& observed_entry) = 0;
+ // Updates a tag for the specified watcher.
+ virtual void UpdateWatcherTag(const ProvidedFileSystemInfo& file_system_info,
+ const Watcher& watcher) = 0;
};
} // namespace file_system_provider

Powered by Google App Engine
This is Rietveld 408576698