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

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

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 years, 6 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 8e5b8754349d311b5c827272415ffecdca837ee5..943e3e379605fd5b47114c3c38d0a469770c50f3 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -375,7 +375,11 @@ class ExtensionService
}
// Note that this may return NULL if autoupdate is not turned on.
+#if defined(ENABLE_EXTENSIONS)
extensions::ExtensionUpdater* updater() { return updater_.get(); }
+#else
+ extensions::ExtensionUpdater* updater() { return NULL; }
+#endif
extensions::ComponentLoader* component_loader() {
return component_loader_.get();
@@ -604,8 +608,10 @@ class ExtensionService
// Signaled when all extensions are loaded.
extensions::OneShotEvent* const ready_;
+#if defined(ENABLE_EXTENSIONS)
// Our extension updater, if updates are turned on.
scoped_ptr<extensions::ExtensionUpdater> updater_;
+#endif
// Map unloaded extensions' ids to their paths. When a temporarily loaded
// extension is unloaded, we lose the information about it and don't have
« no previous file with comments | « chrome/browser/extensions/chrome_extensions_browser_client.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698