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

Side by Side Diff: chrome/browser/interstitials/security_interstitial_metrics_helper.h

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert accidental deletion (fixes failing CaptivePortal tests) Created 5 years, 9 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_ 5 #ifndef CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_
6 #define CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_ 6 #define CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/task/cancelable_task_tracker.h" 10 #include "base/task/cancelable_task_tracker.h"
(...skipping 24 matching lines...) Expand all
35 MAX_DECISION 35 MAX_DECISION
36 }; 36 };
37 enum SecurityInterstitialInteraction { 37 enum SecurityInterstitialInteraction {
38 TOTAL_VISITS, 38 TOTAL_VISITS,
39 SHOW_ADVANCED, 39 SHOW_ADVANCED,
40 SHOW_PRIVACY_POLICY, 40 SHOW_PRIVACY_POLICY,
41 SHOW_DIAGNOSTIC, 41 SHOW_DIAGNOSTIC,
42 SHOW_LEARN_MORE, 42 SHOW_LEARN_MORE,
43 RELOAD, 43 RELOAD,
44 OPEN_TIME_SETTINGS, 44 OPEN_TIME_SETTINGS,
45 SET_EXTENDED_REPORTING_ENABLED,
46 SET_EXTENDED_REPORTING_DISABLED,
47 EXTENDED_REPORTING_IS_ENABLED,
45 MAX_INTERACTION 48 MAX_INTERACTION
46 }; 49 };
47 50
48 enum RapporReporting { 51 enum RapporReporting {
49 REPORT_RAPPOR, 52 REPORT_RAPPOR,
50 SKIP_RAPPOR, 53 SKIP_RAPPOR,
51 }; 54 };
52 55
53 // Args: 56 // Args:
54 // url: URL of page that triggered the interstitial. Only origin is used. 57 // url: URL of page that triggered the interstitial. Only origin is used.
(...skipping 30 matching lines...) Expand all
85 int num_visits_; 88 int num_visits_;
86 base::CancelableTaskTracker request_tracker_; 89 base::CancelableTaskTracker request_tracker_;
87 #if defined(ENABLE_EXTENSIONS) 90 #if defined(ENABLE_EXTENSIONS)
88 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; 91 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
89 #endif 92 #endif
90 93
91 DISALLOW_COPY_AND_ASSIGN(SecurityInterstitialMetricsHelper); 94 DISALLOW_COPY_AND_ASSIGN(SecurityInterstitialMetricsHelper);
92 }; 95 };
93 96
94 #endif // CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_ 97 #endif // CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_METRICS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/interstitials/security_interstitial_metrics_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698