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

Unified Diff: chrome/browser/sync_file_system/sync_event_observer.h

Issue 11316133: Added implementation of SyncEventObserver to route events to Javascript Extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Kinuko review #2 (after little fixups) Created 8 years, 1 month 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/sync_file_system/sync_event_observer.h
diff --git a/chrome/browser/sync_file_system/sync_event_observer.h b/chrome/browser/sync_file_system/sync_event_observer.h
index a6731a22c8229b23fa6c74c347b9a0fb53323f83..6a0d3cbb3ce34695551ce1c350ea5e9a0db3e396 100644
--- a/chrome/browser/sync_file_system/sync_event_observer.h
+++ b/chrome/browser/sync_file_system/sync_event_observer.h
@@ -9,6 +9,8 @@
#include "webkit/fileapi/syncable/sync_operation_type.h"
+class GURL;
+
namespace fileapi {
class FileSystemURL;
}
@@ -49,12 +51,8 @@ class SyncEventObserver {
// Reports the file |url| was updated for |operation|
// by the sync file system backend.
- virtual void OnFileSynced(fileapi::SyncStatusCode status,
- fileapi::SyncOperationType operation,
+ virtual void OnFileSynced(fileapi::SyncOperationType operation,
const fileapi::FileSystemURL& url) = 0;
kinuko 2012/11/28 11:06:40 When you rebase the code you'll see the new code,
calvinlo 2012/11/28 12:26:34 Thanks for the tip. Rebased and updated.
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SyncEventObserver);
};
} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698