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

Unified Diff: chrome/browser/extensions/chrome_extensions_browser_client.cc

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/chrome_extensions_browser_client.cc
diff --git a/chrome/browser/extensions/chrome_extensions_browser_client.cc b/chrome/browser/extensions/chrome_extensions_browser_client.cc
index dc7cfafa47ba2745b7c46a223a1c061baf98753a..3f21436a6b21df6001592045a8de1d8207c4dfe1 100644
--- a/chrome/browser/extensions/chrome_extensions_browser_client.cc
+++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc
@@ -280,8 +280,12 @@ ChromeExtensionsBrowserClient::GetComponentExtensionResourceManager() {
scoped_ptr<extensions::RuntimeAPIDelegate>
ChromeExtensionsBrowserClient::CreateRuntimeAPIDelegate(
content::BrowserContext* context) const {
+#if defined(ENABLE_EXTENSIONS)
return scoped_ptr<extensions::RuntimeAPIDelegate>(
new ChromeRuntimeAPIDelegate(context));
+#else
+ return scoped_ptr<extensions::RuntimeAPIDelegate>();
+#endif
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698