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

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: rebase 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 HandleExtensionEnabled(int type,
127 const content::NotificationDetails& details);
128
124 // ProfileSyncServiceObserver: 129 // ProfileSyncServiceObserver:
125 virtual void OnStateChanged() OVERRIDE; 130 virtual void OnStateChanged() OVERRIDE;
126 131
127 // SyncFileStatusObserver: 132 // SyncFileStatusObserver:
128 virtual void OnFileStatusChanged( 133 virtual void OnFileStatusChanged(
129 const fileapi::FileSystemURL& url, 134 const fileapi::FileSystemURL& url,
130 SyncFileStatus sync_status, 135 SyncFileStatus sync_status,
131 SyncAction action_taken, 136 SyncAction action_taken,
132 SyncDirection direction) OVERRIDE; 137 SyncDirection direction) OVERRIDE;
133 138
(...skipping 24 matching lines...) Expand all
158 bool sync_enabled_; 163 bool sync_enabled_;
159 164
160 ObserverList<SyncEventObserver> observers_; 165 ObserverList<SyncEventObserver> observers_;
161 166
162 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); 167 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService);
163 }; 168 };
164 169
165 } // namespace sync_file_system 170 } // namespace sync_file_system
166 171
167 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 172 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698