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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 10031002: Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add extensions_api_resources resources to windows targets Created 8 years, 8 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
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 8f8dc11fdbf9c9a14900ed35c3db5b3fbfd9f3a6..84f0a4392ae5cd1b99cc50046759b18566d783bb 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -810,11 +810,15 @@ void ExtensionSettingsHandler::GetInspectablePagesForExtensionProcess(
ExtensionUninstallDialog*
ExtensionSettingsHandler::GetExtensionUninstallDialog() {
+#if !defined(OS_ANDROID)
if (!extension_uninstall_dialog_.get()) {
extension_uninstall_dialog_.reset(
ExtensionUninstallDialog::Create(Profile::FromWebUI(web_ui()), this));
}
return extension_uninstall_dialog_.get();
+#else
+ return NULL;
+#endif // !defined(OS_ANDROID)
}
void ExtensionSettingsHandler::InspectExtensionHost(ExtensionHost* host) {
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698