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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Review #2 against correct branch Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 276406cd500848793bfe8191d068724cb129ee31..f4eeb0b65dac513db321319b633c977210fbba55 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -76,6 +76,11 @@ class ExtensionServiceInterface : public SyncableService {
typedef bool (*ExtensionFilter)(const Extension&);
virtual ~ExtensionServiceInterface() {}
+
+ // Gets the list of all installed extension IDs, including disabled and
+ // terminated extensions.
+ virtual const std::vector<std::string> GetAllExtensionIds() const = 0;
Ben Olmstead 2011/09/16 18:21:43 I'm entirely in favor of adding this method.
akalin 2011/09/17 08:44:47 const doesn't make sense in a return value
akalin 2011/09/17 08:44:47 May want to decomp this change out and check that
not at google - send to devlin 2011/09/19 07:10:47 No longer needed.
+
virtual const ExtensionList* extensions() const = 0;
virtual PendingExtensionManager* pending_extension_manager() = 0;
@@ -184,6 +189,10 @@ class ExtensionService
virtual ~ExtensionService();
+ // Gets the list of all installed extension IDs, including disabled and
+ // terminated extensions.
+ virtual const std::vector<std::string> GetAllExtensionIds() const;
+
// Gets the list of currently installed extensions.
Ben Olmstead 2011/09/16 18:21:43 While you're in here, could you change this commen
not at google - send to devlin 2011/09/19 07:10:47 Maybe the GetAllExtensionIDs and/or the comment up
virtual const ExtensionList* extensions() const OVERRIDE;
const ExtensionList* disabled_extensions() const;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | chrome/browser/extensions/extension_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698