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

Side by Side Diff: chrome/browser/ssl/ssl_blocking_page.h

Issue 368143002: Add a chrome://interstitials page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Too many constructors Created 6 years, 5 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 (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_SSL_SSL_BLOCKING_PAGE_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 CMD_DONT_PROCEED = 0, 42 CMD_DONT_PROCEED = 0,
43 CMD_PROCEED = 1, 43 CMD_PROCEED = 1,
44 CMD_MORE = 2, 44 CMD_MORE = 2,
45 CMD_RELOAD = 3, 45 CMD_RELOAD = 3,
46 CMD_HELP = 4, 46 CMD_HELP = 4,
47 CMD_CLOCK = 5 47 CMD_CLOCK = 5
48 }; 48 };
49 49
50 SSLBlockingPage( 50 SSLBlockingPage(
51 content::WebContents* web_contents, 51 content::WebContents* web_contents,
52 bool create_interstitial,
52 int cert_error, 53 int cert_error,
53 const net::SSLInfo& ssl_info, 54 const net::SSLInfo& ssl_info,
54 const GURL& request_url, 55 const GURL& request_url,
55 bool overridable, 56 bool overridable,
56 bool strict_enforcement, 57 bool strict_enforcement,
57 const base::Callback<void(bool)>& callback); 58 const base::Callback<void(bool)>& callback);
58 virtual ~SSLBlockingPage(); 59 virtual ~SSLBlockingPage();
59 60
60 // A method that sets strings in the specified dictionary from the passed 61 // A method that sets strings in the specified dictionary from the passed
61 // vector so that they can be used to resource the ssl_roadblock.html/ 62 // vector so that they can be used to resource the ssl_roadblock.html/
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 124
124 // For the FieldTrial: this contains the name of the condition. 125 // For the FieldTrial: this contains the name of the condition.
125 std::string trial_condition_; 126 std::string trial_condition_;
126 127
127 content::NotificationRegistrar registrar_; 128 content::NotificationRegistrar registrar_;
128 129
129 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); 130 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);
130 }; 131 };
131 132
132 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 133 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698