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

Side by Side Diff: components/security_interstitials/core/ssl_error_ui.cc

Issue 2330753002: Update links for the SBER opt-in on interstitials (Closed)
Patch Set: Update variable name Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/security_interstitials/core/ssl_error_ui.h" 5 #include "components/security_interstitials/core/ssl_error_ui.h"
6 6
7 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "components/security_interstitials/core/common_string_util.h" 8 #include "components/security_interstitials/core/common_string_util.h"
9 #include "components/security_interstitials/core/metrics_helper.h" 9 #include "components/security_interstitials/core/metrics_helper.h"
10 #include "components/ssl_errors/error_classification.h" 10 #include "components/ssl_errors/error_classification.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 controller_->OpenUrlInCurrentTab(GURL(kHelpURL)); 175 controller_->OpenUrlInCurrentTab(GURL(kHelpURL));
176 break; 176 break;
177 case CMD_RELOAD: 177 case CMD_RELOAD:
178 controller_->metrics_helper()->RecordUserInteraction( 178 controller_->metrics_helper()->RecordUserInteraction(
179 security_interstitials::MetricsHelper::RELOAD); 179 security_interstitials::MetricsHelper::RELOAD);
180 controller_->Reload(); 180 controller_->Reload();
181 break; 181 break;
182 case CMD_OPEN_REPORTING_PRIVACY: 182 case CMD_OPEN_REPORTING_PRIVACY:
183 controller_->OpenExtendedReportingPrivacyPolicy(); 183 controller_->OpenExtendedReportingPrivacyPolicy();
184 break; 184 break;
185 case CMD_OPEN_WHITEPAPER:
186 controller_->OpenExtendedReportingWhitepaper();
187 break;
185 case CMD_OPEN_DATE_SETTINGS: 188 case CMD_OPEN_DATE_SETTINGS:
186 case CMD_OPEN_DIAGNOSTIC: 189 case CMD_OPEN_DIAGNOSTIC:
187 case CMD_OPEN_LOGIN: 190 case CMD_OPEN_LOGIN:
188 case CMD_REPORT_PHISHING_ERROR: 191 case CMD_REPORT_PHISHING_ERROR:
189 // Not supported by the SSL error page. 192 // Not supported by the SSL error page.
190 NOTREACHED() << "Unsupported command: " << command; 193 NOTREACHED() << "Unsupported command: " << command;
191 case CMD_ERROR: 194 case CMD_ERROR:
192 case CMD_TEXT_FOUND: 195 case CMD_TEXT_FOUND:
193 case CMD_TEXT_NOT_FOUND: 196 case CMD_TEXT_NOT_FOUND:
194 // Commands are for testing. 197 // Commands are for testing.
195 break; 198 break;
196 } 199 }
197 } 200 }
198 201
199 } // security_interstitials 202 } // security_interstitials
OLDNEW
« no previous file with comments | « components/security_interstitials/core/metrics_helper.h ('k') | components/security_interstitials_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698