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

Unified Diff: chrome/browser/ui/webui/options2/handler_options_handler2.cc

Issue 10381064: Remove the gyp flag for registerProtocolHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move include Created 8 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
« no previous file with comments | « chrome/browser/ui/webui/options2/content_settings_handler2.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/handler_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/handler_options_handler2.cc b/chrome/browser/ui/webui/options2/handler_options_handler2.cc
index 0696b76b70302821bd81be49e0e8e05299e553bb..1a79596ce6b92070b5a66814352433cca7ae3389 100644
--- a/chrome/browser/ui/webui/options2/handler_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/handler_options_handler2.cc
@@ -111,7 +111,6 @@ void HandlerOptionsHandler::GetIgnoredHandlers(ListValue* handlers) {
}
void HandlerOptionsHandler::UpdateHandlerList() {
-#if defined(ENABLE_REGISTER_PROTOCOL_HANDLER)
ProtocolHandlerRegistry* registry = GetProtocolHandlerRegistry();
std::vector<std::string> protocols;
registry->GetRegisteredProtocols(&protocols);
@@ -129,7 +128,6 @@ void HandlerOptionsHandler::UpdateHandlerList() {
web_ui()->CallJavascriptFunction("HandlerOptions.setHandlers", handlers);
web_ui()->CallJavascriptFunction("HandlerOptions.setIgnoredHandlers",
*ignored_handlers);
-#endif // defined(ENABLE_REGISTER_PROTOCOL_HANDLER)
}
void HandlerOptionsHandler::RemoveHandler(const ListValue* args) {
« no previous file with comments | « chrome/browser/ui/webui/options2/content_settings_handler2.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698