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

Side by Side Diff: chromecast/shell/browser/cast_content_browser_client.h

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/content_browser_client.h" 10 #include "content/public/browser/content_browser_client.h"
(...skipping 29 matching lines...) Expand all
40 virtual std::string GetApplicationLocale() OVERRIDE; 40 virtual std::string GetApplicationLocale() OVERRIDE;
41 virtual void AllowCertificateError( 41 virtual void AllowCertificateError(
42 int render_process_id, 42 int render_process_id,
43 int render_view_id, 43 int render_view_id,
44 int cert_error, 44 int cert_error,
45 const net::SSLInfo& ssl_info, 45 const net::SSLInfo& ssl_info,
46 const GURL& request_url, 46 const GURL& request_url,
47 content::ResourceType resource_type, 47 content::ResourceType resource_type,
48 bool overridable, 48 bool overridable,
49 bool strict_enforcement, 49 bool strict_enforcement,
50 bool expired_previous_decision,
50 const base::Callback<void(bool)>& callback, 51 const base::Callback<void(bool)>& callback,
51 content::CertificateRequestResultType* result) OVERRIDE; 52 content::CertificateRequestResultType* result) OVERRIDE;
52 virtual bool CanCreateWindow( 53 virtual bool CanCreateWindow(
53 const GURL& opener_url, 54 const GURL& opener_url,
54 const GURL& opener_top_level_frame_url, 55 const GURL& opener_top_level_frame_url,
55 const GURL& source_origin, 56 const GURL& source_origin,
56 WindowContainerType container_type, 57 WindowContainerType container_type,
57 const GURL& target_url, 58 const GURL& target_url,
58 const content::Referrer& referrer, 59 const content::Referrer& referrer,
59 WindowOpenDisposition disposition, 60 WindowOpenDisposition disposition,
(...skipping 15 matching lines...) Expand all
75 CastBrowserMainParts* shell_browser_main_parts_; 76 CastBrowserMainParts* shell_browser_main_parts_;
76 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 77 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 79 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
79 }; 80 };
80 81
81 } // namespace shell 82 } // namespace shell
82 } // namespace chromecast 83 } // namespace chromecast
83 84
84 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 85 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui.cc ('k') | chromecast/shell/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698