Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index 9fd84e226957f3cea94f4fd42e4ad643eb18060a..4ac8b7f8fc879fa1603876a94c2c3bb45224a46f 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -39,6 +39,7 @@ |
class ExtensionBrowserEventRouter; |
class ExtensionPreferenceEventRouter; |
class ExtensionServiceBackend; |
+class ExtensionSyncData; |
class ExtensionToolbarModel; |
class ExtensionUpdater; |
class GURL; |
@@ -81,9 +82,19 @@ class ExtensionServiceInterface { |
// Safe to call multiple times in a row. |
// |
- // TODO(akalin): Remove this method (and others) once we add |
- // ProcessSyncData(). |
+ // TODO(akalin): Remove this method (and others) once we refactor |
+ // themes sync to not use it directly. |
virtual void CheckForUpdatesSoon() = 0; |
+ |
+ // TODO(akalin): We'll eventually need a separate method for app |
+ // sync. |
asargent_no_longer_on_chrome
2011/04/14 23:32:14
Can you a bug for this and link to it here? The bu
akalin
2011/04/15 01:17:11
There are already a couple of bugs filed: added th
|
+ virtual void ProcessSyncData( |
+ const ExtensionSyncData& extension_sync_data) = 0; |
+ |
+ // TODO(akalin): Add a method like: |
+ // virtual void |
+ // GetInitialSyncData(bool (*filter)(Extension), |
asargent_no_longer_on_chrome
2011/04/14 23:32:14
It's not immediately obvious to me what this would
akalin
2011/04/15 01:17:11
Done.
|
+ // map<string, ExtensionSyncData>* out) const; |
}; |
// Manages installed and running Chromium extensions. |
@@ -345,6 +356,9 @@ class ExtensionService |
virtual void CheckForUpdatesSoon(); |
+ virtual void ProcessSyncData( |
+ const ExtensionSyncData& extension_sync_data); |
asargent_no_longer_on_chrome
2011/04/14 23:32:14
Please include a comment describing what the metho
akalin
2011/04/15 01:17:11
Done, but added it to the interface method (might
|
+ |
void set_extensions_enabled(bool enabled) { extensions_enabled_ = enabled; } |
bool extensions_enabled() { return extensions_enabled_; } |