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

Side by Side Diff: chrome/browser/sync_file_system/sync_file_system_service.h

Issue 12744008: SyncFS: store disabled origins in DriveMetadataStore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unit tests and review fix Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
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_FILE_SYSTEM_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual void OnRemoteChangeQueueUpdated(int64 pending_changes) OVERRIDE; 114 virtual void OnRemoteChangeQueueUpdated(int64 pending_changes) OVERRIDE;
115 virtual void OnRemoteServiceStateUpdated( 115 virtual void OnRemoteServiceStateUpdated(
116 RemoteServiceState state, 116 RemoteServiceState state,
117 const std::string& description) OVERRIDE; 117 const std::string& description) OVERRIDE;
118 118
119 // content::NotificationObserver implementation. 119 // content::NotificationObserver implementation.
120 virtual void Observe(int type, 120 virtual void Observe(int type,
121 const content::NotificationSource& source, 121 const content::NotificationSource& source,
122 const content::NotificationDetails& details) OVERRIDE; 122 const content::NotificationDetails& details) OVERRIDE;
123 123
124 void HandleExtensionUnloaded(int type,
125 const content::NotificationDetails& details);
126 void HandleExtensionLoaded(const content::NotificationDetails& details);
127 void HandleExtensionEnabled(int type,
128 const content::NotificationDetails& details);
129
124 // ProfileSyncServiceObserver: 130 // ProfileSyncServiceObserver:
125 virtual void OnStateChanged() OVERRIDE; 131 virtual void OnStateChanged() OVERRIDE;
126 132
127 // SyncFileStatusObserver: 133 // SyncFileStatusObserver:
128 virtual void OnFileStatusChanged( 134 virtual void OnFileStatusChanged(
129 const fileapi::FileSystemURL& url, 135 const fileapi::FileSystemURL& url,
130 SyncFileStatus sync_status, 136 SyncFileStatus sync_status,
131 SyncAction action_taken, 137 SyncAction action_taken,
132 SyncDirection direction) OVERRIDE; 138 SyncDirection direction) OVERRIDE;
133 139
(...skipping 24 matching lines...) Expand all
158 bool sync_enabled_; 164 bool sync_enabled_;
159 165
160 ObserverList<SyncEventObserver> observers_; 166 ObserverList<SyncEventObserver> observers_;
161 167
162 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); 168 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService);
163 }; 169 };
164 170
165 } // namespace sync_file_system 171 } // namespace sync_file_system
166 172
167 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 173 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698