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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2033563002: Remove obsolete StoragePartition check from old iframe signin path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add early return Created 4 years, 6 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
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 const GURL& effective_url); 207 const GURL& effective_url);
208 208
209 // Returns a list additional WebUI schemes, if any. These additional schemes 209 // Returns a list additional WebUI schemes, if any. These additional schemes
210 // act as aliases to the chrome: scheme. The additional schemes may or may 210 // act as aliases to the chrome: scheme. The additional schemes may or may
211 // not serve specific WebUI pages depending on the particular URLDataSource 211 // not serve specific WebUI pages depending on the particular URLDataSource
212 // and its override of URLDataSource::ShouldServiceRequest. For all schemes 212 // and its override of URLDataSource::ShouldServiceRequest. For all schemes
213 // returned here, view-source is allowed. 213 // returned here, view-source is allowed.
214 virtual void GetAdditionalWebUISchemes( 214 virtual void GetAdditionalWebUISchemes(
215 std::vector<std::string>* additional_schemes) {} 215 std::vector<std::string>* additional_schemes) {}
216 216
217 // Returns a list of webUI hosts to ignore the storage partition check in
218 // URLRequestChromeJob::CheckStoragePartitionMatches.
219 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck(
220 std::vector<std::string>* hosts) {}
221
222 // Called when WebUI objects are created to get aggregate usage data (i.e. is 217 // Called when WebUI objects are created to get aggregate usage data (i.e. is
223 // chrome://downloads used more than chrome://bookmarks?). Only internal (e.g. 218 // chrome://downloads used more than chrome://bookmarks?). Only internal (e.g.
224 // chrome://) URLs are logged. Returns whether the URL was actually logged. 219 // chrome://) URLs are logged. Returns whether the URL was actually logged.
225 virtual bool LogWebUIUrl(const GURL& web_ui_url) const; 220 virtual bool LogWebUIUrl(const GURL& web_ui_url) const;
226 221
227 // Returns whether a specified URL is handled by the embedder's internal 222 // Returns whether a specified URL is handled by the embedder's internal
228 // protocol handlers. 223 // protocol handlers.
229 virtual bool IsHandledURL(const GURL& url); 224 virtual bool IsHandledURL(const GURL& url);
230 225
231 // Returns whether the given process is allowed to commit |url|. This is a 226 // Returns whether the given process is allowed to commit |url|. This is a
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
778 // implementation. Return nullptr to disable external surface video. 773 // implementation. Return nullptr to disable external surface video.
779 virtual ExternalVideoSurfaceContainer* 774 virtual ExternalVideoSurfaceContainer*
780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
781 #endif 776 #endif
782 }; 777 };
783 778
784 } // namespace content 779 } // namespace content
785 780
786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698