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

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: 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 378ba0074b57da89133780be7abef7866296d11e..73909fc54b8a1db9eb6142815f30d6f780d38402 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -377,7 +377,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();
@@ -602,8 +606,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

Powered by Google App Engine
This is Rietveld 408576698