OLD | NEW |
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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual void OnExtensionInstalled( | 138 virtual void OnExtensionInstalled( |
139 content::BrowserContext* browser_context, | 139 content::BrowserContext* browser_context, |
140 const extensions::Extension* extension, | 140 const extensions::Extension* extension, |
141 bool is_update) OVERRIDE; | 141 bool is_update) OVERRIDE; |
142 virtual void OnExtensionUnloaded( | 142 virtual void OnExtensionUnloaded( |
143 content::BrowserContext* browser_context, | 143 content::BrowserContext* browser_context, |
144 const extensions::Extension* extension, | 144 const extensions::Extension* extension, |
145 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; | 145 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; |
146 virtual void OnExtensionUninstalled( | 146 virtual void OnExtensionUninstalled( |
147 content::BrowserContext* browser_context, | 147 content::BrowserContext* browser_context, |
148 const extensions::Extension* extension) OVERRIDE; | 148 const extensions::Extension* extension, |
| 149 extensions::UninstallReason reason) OVERRIDE; |
149 virtual void OnExtensionLoaded( | 150 virtual void OnExtensionLoaded( |
150 content::BrowserContext* browser_context, | 151 content::BrowserContext* browser_context, |
151 const extensions::Extension* extension) OVERRIDE; | 152 const extensions::Extension* extension) OVERRIDE; |
152 | 153 |
153 // ProfileSyncServiceObserver implementation. | 154 // ProfileSyncServiceObserver implementation. |
154 virtual void OnStateChanged() OVERRIDE; | 155 virtual void OnStateChanged() OVERRIDE; |
155 | 156 |
156 // SyncFileStatusObserver implementation. | 157 // SyncFileStatusObserver implementation. |
157 virtual void OnFileStatusChanged( | 158 virtual void OnFileStatusChanged( |
158 const fileapi::FileSystemURL& url, | 159 const fileapi::FileSystemURL& url, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 193 |
193 TaskLogger task_logger_; | 194 TaskLogger task_logger_; |
194 ObserverList<SyncEventObserver> observers_; | 195 ObserverList<SyncEventObserver> observers_; |
195 | 196 |
196 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); | 197 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); |
197 }; | 198 }; |
198 | 199 |
199 } // namespace sync_file_system | 200 } // namespace sync_file_system |
200 | 201 |
201 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ | 202 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
OLD | NEW |