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

Side by Side Diff: chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc

Issue 2501903002: Update mixed script shield help center URL to use p-link. (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h" 5 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h"
6 6
7 #include "chrome/browser/content_settings/chrome_content_settings_utils.h" 7 #include "chrome/browser/content_settings/chrome_content_settings_utils.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/chrome_pages.h" 10 #include "chrome/browser/ui/chrome_pages.h"
11 #include "chrome/browser/ui/tab_dialogs.h" 11 #include "chrome/browser/ui/tab_dialogs.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "components/google/core/browser/google_util.h" 13 #include "components/google/core/browser/google_util.h"
14 14
15 // The URL for when the user clicks "learn more" on the mixed scripting page 15 // The URL for when the user clicks "learn more" on the mixed scripting page
16 // icon bubble. 16 // icon bubble.
17 const char kInsecureScriptHelpUrl[] = 17 const char kInsecureScriptHelpUrl[] =
18 "https://support.google.com/chrome/answer/1342714"; 18 "https://support.google.com/chrome/?p=unauthenticated";
19 19
20 BrowserContentSettingBubbleModelDelegate:: 20 BrowserContentSettingBubbleModelDelegate::
21 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) { 21 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) {
22 } 22 }
23 23
24 BrowserContentSettingBubbleModelDelegate:: 24 BrowserContentSettingBubbleModelDelegate::
25 ~BrowserContentSettingBubbleModelDelegate() { 25 ~BrowserContentSettingBubbleModelDelegate() {
26 } 26 }
27 27
28 void BrowserContentSettingBubbleModelDelegate::ShowCollectedCookiesDialog( 28 void BrowserContentSettingBubbleModelDelegate::ShowCollectedCookiesDialog(
(...skipping 26 matching lines...) Expand all
55 } 55 }
56 56
57 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage( 57 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage(
58 ContentSettingsType type) { 58 ContentSettingsType type) {
59 if (type != CONTENT_SETTINGS_TYPE_PLUGINS) 59 if (type != CONTENT_SETTINGS_TYPE_PLUGINS)
60 return; 60 return;
61 chrome::AddSelectedTabWithURL(browser_, 61 chrome::AddSelectedTabWithURL(browser_,
62 GURL(chrome::kBlockedPluginLearnMoreURL), 62 GURL(chrome::kBlockedPluginLearnMoreURL),
63 ui::PAGE_TRANSITION_LINK); 63 ui::PAGE_TRANSITION_LINK);
64 } 64 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698