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

Side by Side Diff: chrome/browser/ssl/captive_portal_blocking_page.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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/ssl/bad_clock_blocking_page.h ('k') | chrome/browser/ssl/cert_report_helper.h » ('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 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 #include "chrome/browser/ssl/captive_portal_blocking_page.h" 5 #include "chrome/browser/ssl/captive_portal_blocking_page.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "build/build_config.h"
14 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" 15 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
15 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ssl/cert_report_helper.h" 17 #include "chrome/browser/ssl/cert_report_helper.h"
17 #include "chrome/browser/ssl/ssl_cert_reporter.h" 18 #include "chrome/browser/ssl/ssl_cert_reporter.h"
18 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
19 #include "components/captive_portal/captive_portal_detector.h" 20 #include "components/captive_portal/captive_portal_detector.h"
20 #include "components/certificate_reporting/error_reporter.h" 21 #include "components/certificate_reporting/error_reporter.h"
21 #include "components/security_interstitials/core/controller_client.h" 22 #include "components/security_interstitials/core/controller_client.h"
22 #include "components/url_formatter/url_formatter.h" 23 #include "components/url_formatter/url_formatter.h"
23 #include "components/wifi/wifi_service.h" 24 #include "components/wifi/wifi_service.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 certificate_reporting::ErrorReport::USER_DID_NOT_PROCEED); 221 certificate_reporting::ErrorReport::USER_DID_NOT_PROCEED);
221 } 222 }
222 223
223 // Need to explicity deny the certificate via the callback, otherwise memory 224 // Need to explicity deny the certificate via the callback, otherwise memory
224 // is leaked. 225 // is leaked.
225 if (!callback_.is_null()) { 226 if (!callback_.is_null()) {
226 callback_.Run(false); 227 callback_.Run(false);
227 callback_.Reset(); 228 callback_.Reset();
228 } 229 }
229 } 230 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/bad_clock_blocking_page.h ('k') | chrome/browser/ssl/cert_report_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698