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

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

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | 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 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 <memory> 10 #include <memory>
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 content::ResourceType resource_type, 177 content::ResourceType resource_type,
178 bool overridable, 178 bool overridable,
179 bool strict_enforcement, 179 bool strict_enforcement,
180 bool expired_previous_decision, 180 bool expired_previous_decision,
181 const base::Callback<void(content::CertificateRequestResultType)>& 181 const base::Callback<void(content::CertificateRequestResultType)>&
182 callback) override; 182 callback) override;
183 void SelectClientCertificate( 183 void SelectClientCertificate(
184 content::WebContents* web_contents, 184 content::WebContents* web_contents,
185 net::SSLCertRequestInfo* cert_request_info, 185 net::SSLCertRequestInfo* cert_request_info,
186 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; 186 std::unique_ptr<content::ClientCertificateDelegate> delegate) override;
187 void AddCertificate(net::CertificateMimeType cert_type,
188 const void* cert_data,
189 size_t cert_size,
190 int render_process_id,
191 int render_frame_id) override;
192 content::MediaObserver* GetMediaObserver() override; 187 content::MediaObserver* GetMediaObserver() override;
193 content::PlatformNotificationService* GetPlatformNotificationService() 188 content::PlatformNotificationService* GetPlatformNotificationService()
194 override; 189 override;
195 bool CanCreateWindow(const GURL& opener_url, 190 bool CanCreateWindow(const GURL& opener_url,
196 const GURL& opener_top_level_frame_url, 191 const GURL& opener_top_level_frame_url,
197 const GURL& source_origin, 192 const GURL& source_origin,
198 WindowContainerType container_type, 193 WindowContainerType container_type,
199 const GURL& target_url, 194 const GURL& target_url,
200 const content::Referrer& referrer, 195 const content::Referrer& referrer,
201 const std::string& frame_name, 196 const std::string& frame_name,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // Vector of additional ChromeContentBrowserClientParts. 351 // Vector of additional ChromeContentBrowserClientParts.
357 // Parts are deleted in the reverse order they are added. 352 // Parts are deleted in the reverse order they are added.
358 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 353 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
359 354
360 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 355 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
361 356
362 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 357 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
363 }; 358 };
364 359
365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 360 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698