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

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

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-auth-cancel-1
Patch Set: worker_common.js was missing a license header (also a rebase) Created 5 years, 9 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 "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/public/browser/client_certificate_delegate.h"
8 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 10 #include "url/gurl.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( 14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts(
14 const MainFunctionParams& parameters) { 15 const MainFunctionParams& parameters) {
15 return nullptr; 16 return nullptr;
16 } 17 }
17 18
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 ResourceContext* context, 171 ResourceContext* context,
171 const std::vector<std::pair<int, int> >& render_frames) { 172 const std::vector<std::pair<int, int> >& render_frames) {
172 return true; 173 return true;
173 } 174 }
174 175
175 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { 176 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
176 return nullptr; 177 return nullptr;
177 } 178 }
178 179
179 void ContentBrowserClient::SelectClientCertificate( 180 void ContentBrowserClient::SelectClientCertificate(
180 int render_process_id, 181 WebContents* web_contents,
181 int render_frame_id,
182 net::SSLCertRequestInfo* cert_request_info, 182 net::SSLCertRequestInfo* cert_request_info,
183 const base::Callback<void(net::X509Certificate*)>& callback) { 183 scoped_ptr<ClientCertificateDelegate> delegate) {
184 callback.Run(nullptr);
185 } 184 }
186 185
187 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( 186 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
188 const GURL& url, ResourceContext* context) { 187 const GURL& url, ResourceContext* context) {
189 return nullptr; 188 return nullptr;
190 } 189 }
191 190
192 std::string ContentBrowserClient::GetStoragePartitionIdForSite( 191 std::string ContentBrowserClient::GetStoragePartitionIdForSite(
193 BrowserContext* browser_context, 192 BrowserContext* browser_context,
194 const GURL& site) { 193 const GURL& site) {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 360
362 #if defined(VIDEO_HOLE) 361 #if defined(VIDEO_HOLE)
363 ExternalVideoSurfaceContainer* 362 ExternalVideoSurfaceContainer*
364 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 363 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
365 WebContents* web_contents) { 364 WebContents* web_contents) {
366 return nullptr; 365 return nullptr;
367 } 366 }
368 #endif 367 #endif
369 368
370 } // namespace content 369 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698