summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_service.cc
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 19:15:08 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 19:15:08 +0000
commit4a8d3279cc9f2149c90d36550a55d01a264ba0a3 (patch)
tree10686a040d5bbb5af5dc4686564ceec0189fee22 /chrome/browser/extensions/extensions_service.cc
parenta724b6ad91affee34adc5c3ab25b05536bb51f6d (diff)
downloadchromium_src-4a8d3279cc9f2149c90d36550a55d01a264ba0a3.zip
chromium_src-4a8d3279cc9f2149c90d36550a55d01a264ba0a3.tar.gz
chromium_src-4a8d3279cc9f2149c90d36550a55d01a264ba0a3.tar.bz2
Unrevert 11294.
- include stub fix so that linux/mac still build. - fix DCHECK in views code. - fix unit test. Review URL: http://codereview.chromium.org/41020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.cc')
-rw-r--r--chrome/browser/extensions/extensions_service.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc
index 32492cc..1b66bea 100644
--- a/chrome/browser/extensions/extensions_service.cc
+++ b/chrome/browser/extensions/extensions_service.cc
@@ -103,13 +103,6 @@ bool ExtensionsService::Init() {
return true;
}
-void ExtensionsService::LaunchExtensionProcess(Extension* extension) {
- // TODO(mpcomplete): Do something useful here.
- GURL url = Extension::GetResourceURL(extension->url(), "index.html");
- ExtensionView* view = new ExtensionView(url, profile_);
- view->InitHidden();
-}
-
MessageLoop* ExtensionsService::GetMessageLoop() {
return message_loop_;
}
@@ -136,8 +129,7 @@ void ExtensionsService::LoadExtension(const FilePath& extension_path) {
scoped_refptr<ExtensionsServiceFrontendInterface>(this)));
}
-void ExtensionsService::OnExtensionsLoaded(
- ExtensionList* new_extensions) {
+void ExtensionsService::OnExtensionsLoaded(ExtensionList* new_extensions) {
extensions_.insert(extensions_.end(), new_extensions->begin(),
new_extensions->end());