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

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

Issue 1459473003: Add a WebContents getter callback in ResourceRequestInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 #endif // defined(ENABLE_WEBRTC) 170 #endif // defined(ENABLE_WEBRTC)
171 171
172 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; 172 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override;
173 173
174 net::URLRequestContext* OverrideRequestContextForURL( 174 net::URLRequestContext* OverrideRequestContextForURL(
175 const GURL& url, 175 const GURL& url,
176 content::ResourceContext* context) override; 176 content::ResourceContext* context) override;
177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( 178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy(
179 content::BrowserContext* context) override; 179 content::BrowserContext* context) override;
180 void AllowCertificateError( 180 void AllowCertificateError(
davidben 2015/11/19 17:46:13 You'll also need to change the other ContentBrowse
clamy 2015/11/20 13:50:42 Done on those I found in CodeSearch.
181 int render_process_id, 181 const content::ResourceRequestInfo::WebContentsGetterOnUI&
182 int render_frame_id, 182 web_contents_getter,
183 int cert_error, 183 int cert_error,
184 const net::SSLInfo& ssl_info, 184 const net::SSLInfo& ssl_info,
185 const GURL& request_url, 185 const GURL& request_url,
186 content::ResourceType resource_type, 186 content::ResourceType resource_type,
187 bool overridable, 187 bool overridable,
188 bool strict_enforcement, 188 bool strict_enforcement,
189 bool expired_previous_decision, 189 bool expired_previous_decision,
190 const base::Callback<void(bool)>& callback, 190 const base::Callback<void(bool)>& callback,
191 content::CertificateRequestResultType* request) override; 191 content::CertificateRequestResultType* request) override;
192 void SelectClientCertificate( 192 void SelectClientCertificate(
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // Vector of additional ChromeContentBrowserClientParts. 342 // Vector of additional ChromeContentBrowserClientParts.
343 // Parts are deleted in the reverse order they are added. 343 // Parts are deleted in the reverse order they are added.
344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
345 345
346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
347 347
348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
349 }; 349 };
350 350
351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698