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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2007223003: Remove obsolete StoragePartition check from old iframe signin path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline Created 4 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 unified diff | Download patch
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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 } 1087 }
1088 1088
1089 // These are treated as WebUI schemes but do not get WebUI bindings. Also, 1089 // These are treated as WebUI schemes but do not get WebUI bindings. Also,
1090 // view-source is allowed for these schemes. 1090 // view-source is allowed for these schemes.
1091 void ChromeContentBrowserClient::GetAdditionalWebUISchemes( 1091 void ChromeContentBrowserClient::GetAdditionalWebUISchemes(
1092 std::vector<std::string>* additional_schemes) { 1092 std::vector<std::string>* additional_schemes) {
1093 additional_schemes->push_back(chrome::kChromeSearchScheme); 1093 additional_schemes->push_back(chrome::kChromeSearchScheme);
1094 additional_schemes->push_back(dom_distiller::kDomDistillerScheme); 1094 additional_schemes->push_back(dom_distiller::kDomDistillerScheme);
1095 } 1095 }
1096 1096
1097 void ChromeContentBrowserClient::GetAdditionalWebUIHostsToIgnoreParititionCheck(
1098 std::vector<std::string>* hosts) {
1099 hosts->push_back(chrome::kChromeUIExtensionIconHost);
1100 hosts->push_back(chrome::kChromeUIFaviconHost);
1101 hosts->push_back(chrome::kChromeUIThemeHost);
1102 hosts->push_back(chrome::kChromeUIThumbnailHost);
1103 hosts->push_back(chrome::kChromeUIThumbnailHost2);
1104 hosts->push_back(chrome::kChromeUIThumbnailListHost);
1105 }
1106
1107 bool ChromeContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { 1097 bool ChromeContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const {
1108 return webui::LogWebUIUrl(web_ui_url); 1098 return webui::LogWebUIUrl(web_ui_url);
1109 } 1099 }
1110 1100
1111 bool ChromeContentBrowserClient::IsHandledURL(const GURL& url) { 1101 bool ChromeContentBrowserClient::IsHandledURL(const GURL& url) {
1112 return ProfileIOData::IsHandledURL(url); 1102 return ProfileIOData::IsHandledURL(url);
1113 } 1103 }
1114 1104
1115 bool ChromeContentBrowserClient::CanCommitURL( 1105 bool ChromeContentBrowserClient::CanCommitURL(
1116 content::RenderProcessHost* process_host, 1106 content::RenderProcessHost* process_host,
(...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after
2987 if (channel <= kMaxDisableEncryptionChannel) { 2977 if (channel <= kMaxDisableEncryptionChannel) {
2988 static const char* const kWebRtcDevSwitchNames[] = { 2978 static const char* const kWebRtcDevSwitchNames[] = {
2989 switches::kDisableWebRtcEncryption, 2979 switches::kDisableWebRtcEncryption,
2990 }; 2980 };
2991 to_command_line->CopySwitchesFrom(from_command_line, 2981 to_command_line->CopySwitchesFrom(from_command_line,
2992 kWebRtcDevSwitchNames, 2982 kWebRtcDevSwitchNames,
2993 arraysize(kWebRtcDevSwitchNames)); 2983 arraysize(kWebRtcDevSwitchNames));
2994 } 2984 }
2995 } 2985 }
2996 #endif // defined(ENABLE_WEBRTC) 2986 #endif // defined(ENABLE_WEBRTC)
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698