diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-05 00:38:25 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-05 00:38:25 +0000 |
commit | 6014d67a9c2006e15cfa09babfe5eaf63d57a331 (patch) | |
tree | 9c0d36df02bd5b4a0e7fca1fa23045e3e6f26f27 /chrome/common | |
parent | fad84eab5e64996804824f2c7b8fce98da13b2cd (diff) | |
download | chromium_src-6014d67a9c2006e15cfa09babfe5eaf63d57a331.zip chromium_src-6014d67a9c2006e15cfa09babfe5eaf63d57a331.tar.gz chromium_src-6014d67a9c2006e15cfa09babfe5eaf63d57a331.tar.bz2 |
Introduce ExtensionsService. Load extensions on startup from a directory in
the profile if a command-line flag is present.
Please carefully scrutinize the threading/ref-counting schenanigans.
Review URL: http://codereview.chromium.org/12876
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 4d076f9..feccc82 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -336,6 +336,9 @@ const wchar_t kSdchFilter[] = L"enable-sdch"; // Enable Greasemonkey script support. const wchar_t kEnableGreasemonkey[] = L"enable-greasemonkey"; +// Enable extensions. +const wchar_t kEnableExtensions[] = L"enable-extensions"; + // Causes the browser to launch directly in incognito mode. const wchar_t kIncognito[] = L"incognito"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 7a75cb5..78e8212 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -130,6 +130,7 @@ extern const wchar_t kEnableP13n[]; extern const wchar_t kSdchFilter[]; extern const wchar_t kEnableGreasemonkey[]; +extern const wchar_t kEnableExtensions[]; extern const wchar_t kIncognito[]; extern const wchar_t kUseOldSafeBrowsing[]; |