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

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

Issue 663713002: [fsp] Extract ObservedEntry and ObservedEntries to a separate file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Added missing files. 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/provided_file_system_interface.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
index 8346a3aac3f09187c78da9e8196dd2d236a444da..a6d0b638e67d6baefa059f981d7176243e31adbc 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
@@ -15,6 +15,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
+#include "chrome/browser/chromeos/file_system_provider/observed_entry.h"
fukino 2014/10/17 04:51:02 nit: unneeded header?
mtomasz 2014/10/17 05:29:43 ObservedEntry was previously declared in the same
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_observer.h"
#include "storage/browser/fileapi/async_file_util.h"
@@ -57,7 +58,6 @@ struct EntryMetadata {
// fails synchronously.
class ProvidedFileSystemInterface {
public:
- struct ObservedEntry;
struct ChildChange;
// Mode of opening a file. Used by OpenFile().
@@ -85,19 +85,6 @@ class ProvidedFileSystemInterface {
// Mask of fields requested from the GetMetadata() call.
typedef int MetadataFieldMask;
- // List of observed entries.
- typedef std::map<base::FilePath, ObservedEntry> ObservedEntries;
-
- // Represents an observed entry on the file system.
- struct ObservedEntry {
- ObservedEntry();
- ~ObservedEntry();
-
- base::FilePath entry_path;
- bool recursive;
- std::string last_tag;
- };
-
virtual ~ProvidedFileSystemInterface() {}
// Requests unmounting of the file system. The callback is called when the

Powered by Google App Engine
This is Rietveld 408576698