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

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

Issue 9536023: Revert 124228 - Revert 119423 - Revert 119306 - Turn web intents build flag on. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 10 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/options/content_settings_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/content_settings_handler2.cc
===================================================================
--- chrome/browser/ui/webui/options2/content_settings_handler2.cc (revision 124239)
+++ chrome/browser/ui/webui/options2/content_settings_handler2.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -283,8 +283,8 @@
RegisterTitle(localized_strings, "contentSettingsPage",
IDS_CONTENT_SETTINGS_TITLE);
localized_strings->SetBoolean("enable_web_intents",
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebIntents));
+ !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableWebIntents));
}
void ContentSettingsHandler::Initialize() {
@@ -437,10 +437,9 @@
void ContentSettingsHandler::UpdateExceptionsViewFromModel(
ContentSettingsType type) {
- // Skip updating intents unless it's enabled from the command line.
- if (type == CONTENT_SETTINGS_TYPE_INTENTS &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebIntents))
+ // Don't update intents settings at this point.
+ // Turn on when enable_web_intents_tag is enabled.
+ if (type == CONTENT_SETTINGS_TYPE_INTENTS)
return;
switch (type) {
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698