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

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

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const GURL& effective_url) override; 79 const GURL& effective_url) override;
80 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, 80 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context,
81 const GURL& effective_url) override; 81 const GURL& effective_url) override;
82 bool ShouldLockToOrigin(content::BrowserContext* browser_context, 82 bool ShouldLockToOrigin(content::BrowserContext* browser_context,
83 const GURL& effective_site_url) override; 83 const GURL& effective_site_url) override;
84 void GetAdditionalWebUISchemes( 84 void GetAdditionalWebUISchemes(
85 std::vector<std::string>* additional_schemes) override; 85 std::vector<std::string>* additional_schemes) override;
86 void GetAdditionalWebUIHostsToIgnoreParititionCheck( 86 void GetAdditionalWebUIHostsToIgnoreParititionCheck(
87 std::vector<std::string>* hosts) override; 87 std::vector<std::string>* hosts) override;
88 bool LogWebUIUrl(const GURL& web_ui_url) const override; 88 bool LogWebUIUrl(const GURL& web_ui_url) const override;
89 net::URLRequestContextGetter* CreateRequestContext(
90 content::BrowserContext* browser_context,
91 content::ProtocolHandlerMap* protocol_handlers,
92 content::URLRequestInterceptorScopedVector request_interceptors) override;
93 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
94 content::BrowserContext* browser_context,
95 const base::FilePath& partition_path,
96 bool in_memory,
97 content::ProtocolHandlerMap* protocol_handlers,
98 content::URLRequestInterceptorScopedVector request_interceptors) override;
99 bool IsHandledURL(const GURL& url) override; 89 bool IsHandledURL(const GURL& url) override;
100 bool CanCommitURL(content::RenderProcessHost* process_host, 90 bool CanCommitURL(content::RenderProcessHost* process_host,
101 const GURL& url) override; 91 const GURL& url) override;
102 bool IsIllegalOrigin(content::ResourceContext* resource_context, 92 bool IsIllegalOrigin(content::ResourceContext* resource_context,
103 int child_process_id, 93 int child_process_id,
104 const GURL& origin) override; 94 const GURL& origin) override;
105 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, 95 bool ShouldAllowOpenURL(content::SiteInstance* site_instance,
106 const GURL& url) override; 96 const GURL& url) override;
107 bool IsSuitableHost(content::RenderProcessHost* process_host, 97 bool IsSuitableHost(content::RenderProcessHost* process_host,
108 const GURL& site_url) override; 98 const GURL& site_url) override;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Vector of additional ChromeContentBrowserClientParts. 337 // Vector of additional ChromeContentBrowserClientParts.
348 // Parts are deleted in the reverse order they are added. 338 // Parts are deleted in the reverse order they are added.
349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 339 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
350 340
351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 341 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
352 342
353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 343 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
354 }; 344 };
355 345
356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 346 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698