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

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

Issue 2078021: First pass at experimental omnibox API. There are plenty of rough edges and (Closed)
Patch Set: no prefer_keyword Created 10 years, 7 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/extensions_service.h
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h
index 25b27d292289ed1143b116e06817f8edc9e8a7da..89f167de5e307e589054d1a7d725fefeef02deaf 100644
--- a/chrome/browser/extensions/extensions_service.h
+++ b/chrome/browser/extensions/extensions_service.h
@@ -263,8 +263,9 @@ class ExtensionsService
// Called when the initial extensions load has completed.
virtual void OnLoadedInstalledExtensions();
- // Called when an extension has been loaded.
- void OnExtensionLoaded(Extension* extension,
+ // Called when an extension has been loaded. Returns false if the extension
+ // failed to load (for example, if it has already been loaded).
+ bool OnExtensionLoaded(Extension* extension,
bool allow_privilege_increase);
// Called by the backend when an extension has been installed.
« no previous file with comments | « chrome/browser/extensions/extension_omnibox_apitest.cc ('k') | chrome/browser/extensions/extensions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698