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 <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 SyncStatusCode status, | 130 SyncStatusCode status, |
131 bool has_pending_local_changes); | 131 bool has_pending_local_changes); |
132 | 132 |
133 void OnRemoteServiceStateUpdated(RemoteServiceState state, | 133 void OnRemoteServiceStateUpdated(RemoteServiceState state, |
134 const std::string& description); | 134 const std::string& description); |
135 | 135 |
136 // extensions::ExtensionRegistryObserver implementations. | 136 // extensions::ExtensionRegistryObserver implementations. |
137 void OnExtensionInstalled(content::BrowserContext* browser_context, | 137 void OnExtensionInstalled(content::BrowserContext* browser_context, |
138 const extensions::Extension* extension, | 138 const extensions::Extension* extension, |
139 bool is_update) override; | 139 bool is_update) override; |
140 void OnExtensionUnloaded( | 140 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
141 content::BrowserContext* browser_context, | 141 const extensions::Extension* extension, |
142 const extensions::Extension* extension, | 142 extensions::UnloadedExtensionReason reason) override; |
143 extensions::UnloadedExtensionInfo::Reason reason) override; | |
144 void OnExtensionUninstalled(content::BrowserContext* browser_context, | 143 void OnExtensionUninstalled(content::BrowserContext* browser_context, |
145 const extensions::Extension* extension, | 144 const extensions::Extension* extension, |
146 extensions::UninstallReason reason) override; | 145 extensions::UninstallReason reason) override; |
147 void OnExtensionLoaded(content::BrowserContext* browser_context, | 146 void OnExtensionLoaded(content::BrowserContext* browser_context, |
148 const extensions::Extension* extension) override; | 147 const extensions::Extension* extension) override; |
149 | 148 |
150 // syncer::SyncServiceObserver implementation. | 149 // syncer::SyncServiceObserver implementation. |
151 void OnStateChanged(syncer::SyncService* sync) override; | 150 void OnStateChanged(syncer::SyncService* sync) override; |
152 | 151 |
153 // SyncFileStatusObserver implementation. | 152 // SyncFileStatusObserver implementation. |
(...skipping 29 matching lines...) Expand all Loading... |
183 | 182 |
184 bool promoting_demoted_changes_; | 183 bool promoting_demoted_changes_; |
185 base::Closure idle_callback_; | 184 base::Closure idle_callback_; |
186 | 185 |
187 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); | 186 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); |
188 }; | 187 }; |
189 | 188 |
190 } // namespace sync_file_system | 189 } // namespace sync_file_system |
191 | 190 |
192 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ | 191 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
OLD | NEW |