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

Side by Side 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: Fix destructor for compile Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/event_names.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "webkit/fileapi/syncable/sync_operation_type.h" 10 #include "webkit/fileapi/syncable/sync_operation_type.h"
11 11
12 class GURL;
13
12 namespace fileapi { 14 namespace fileapi {
13 class FileSystemURL; 15 class FileSystemURL;
14 } 16 }
15 17
16 namespace sync_file_system { 18 namespace sync_file_system {
17 19
18 class SyncEventObserver { 20 class SyncEventObserver {
19 public: 21 public:
20 typedef fileapi::SyncOperationType SyncOperationType; 22 typedef fileapi::SyncOperationType SyncOperationType;
21 23
(...skipping 30 matching lines...) Expand all
52 virtual void OnFileSynced(const fileapi::FileSystemURL& url, 54 virtual void OnFileSynced(const fileapi::FileSystemURL& url,
53 fileapi::SyncOperationType operation) = 0; 55 fileapi::SyncOperationType operation) = 0;
54 56
55 private: 57 private:
56 DISALLOW_COPY_AND_ASSIGN(SyncEventObserver); 58 DISALLOW_COPY_AND_ASSIGN(SyncEventObserver);
57 }; 59 };
58 60
59 } // namespace sync_file_system 61 } // namespace sync_file_system
60 62
61 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ 63 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/event_names.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698