summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_service.h
diff options
context:
space:
mode:
authoraltimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 09:03:10 +0000
committeraltimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 09:03:10 +0000
commit61b55b61f077b9c7ef39cf988c53c971569f186f (patch)
tree9d49191cb300732ea9cf8f64da37293727c0eef8 /chrome/browser/extensions/extension_service.h
parenta7f845b2c1ab77bf730c8dac5e2e4436108f4860 (diff)
downloadchromium_src-61b55b61f077b9c7ef39cf988c53c971569f186f.zip
chromium_src-61b55b61f077b9c7ef39cf988c53c971569f186f.tar.gz
chromium_src-61b55b61f077b9c7ef39cf988c53c971569f186f.tar.bz2
Added extensions API to provide customization values.
This CL adds API that could be used only by component extensions. Currently, API only returns device's HWID. BUG=chromium-os:13076 TEST=browser_tests Review URL: http://codereview.chromium.org/6681038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service.h')
-rw-r--r--chrome/browser/extensions/extension_service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 5e83300..a6081d6 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -250,13 +250,16 @@ class ExtensionService
// extension.
void GrantPermissionsAndEnableExtension(const Extension* extension);
- // Load the extension from the directory |extension_path|.
+ // Loads the extension from the directory |extension_path|.
void LoadExtension(const FilePath& extension_path);
- // Load any component extensions.
+ // Loads any component extensions.
void LoadComponentExtensions();
- // Load all known extensions (used by startup and testing code).
+ // Loads particular component extension.
+ void LoadComponentExtension(const ComponentExtensionInfo& info);
+
+ // Loads all known extensions (used by startup and testing code).
void LoadAllExtensions();
// Continues loading all know extensions. It can be called from