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

Side by Side Diff: chrome/browser/ui/website_settings/website_settings.h

Issue 1714383002: Android: Record metrics for buttons in the Origin Info Bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/ui/android/website_settings_popup_android.cc ('k') | chrome/chrome.gyp » ('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 (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_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" 10 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // The profile has accessed data using an administrator-provided 70 // The profile has accessed data using an administrator-provided
71 // certificate, so the administrator might be able to intercept data. 71 // certificate, so the administrator might be able to intercept data.
72 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, 72 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT,
73 // The website provided a valid certificate, but the certificate or chain 73 // The website provided a valid certificate, but the certificate or chain
74 // is using a deprecated signature algorithm. 74 // is using a deprecated signature algorithm.
75 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR, 75 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR,
76 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MAJOR, 76 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MAJOR,
77 }; 77 };
78 78
79 // UMA statistics for WebsiteSettings. Do not reorder or remove existing 79 // UMA statistics for WebsiteSettings. Do not reorder or remove existing
80 // fields. 80 // fields. A Java counterpart will be generated for this enum.
81 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.pageinfo
81 enum WebsiteSettingsAction { 82 enum WebsiteSettingsAction {
82 WEBSITE_SETTINGS_OPENED = 0, 83 WEBSITE_SETTINGS_OPENED = 0,
Ted C 2016/02/22 18:26:51 Should we log this in from showDialog?
tsergeant 2016/02/23 00:24:52 It already gets logged in the constructor for Webs
83 WEBSITE_SETTINGS_PERMISSIONS_TAB_SELECTED = 1, 84 WEBSITE_SETTINGS_PERMISSIONS_TAB_SELECTED = 1,
84 WEBSITE_SETTINGS_CONNECTION_TAB_SELECTED = 2, 85 WEBSITE_SETTINGS_CONNECTION_TAB_SELECTED = 2,
85 WEBSITE_SETTINGS_CONNECTION_TAB_SHOWN_IMMEDIATELY = 3, 86 WEBSITE_SETTINGS_CONNECTION_TAB_SHOWN_IMMEDIATELY = 3,
86 WEBSITE_SETTINGS_COOKIES_DIALOG_OPENED = 4, 87 WEBSITE_SETTINGS_COOKIES_DIALOG_OPENED = 4,
87 WEBSITE_SETTINGS_CHANGED_PERMISSION = 5, 88 WEBSITE_SETTINGS_CHANGED_PERMISSION = 5,
88 WEBSITE_SETTINGS_CERTIFICATE_DIALOG_OPENED = 6, 89 WEBSITE_SETTINGS_CERTIFICATE_DIALOG_OPENED = 6,
89 // No longer used; indicated a UI viewer for SCTs. 90 // No longer used; indicated a UI viewer for SCTs.
90 // WEBSITE_SETTINGS_TRANSPARENCY_VIEWER_OPENED = 7, 91 // WEBSITE_SETTINGS_TRANSPARENCY_VIEWER_OPENED = 7,
91 WEBSITE_SETTINGS_CONNECTION_HELP_OPENED = 8, 92 WEBSITE_SETTINGS_CONNECTION_HELP_OPENED = 8,
92 WEBSITE_SETTINGS_SITE_SETTINGS_OPENED = 9, 93 WEBSITE_SETTINGS_SITE_SETTINGS_OPENED = 9,
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; 247 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_;
247 248
248 bool did_revoke_user_ssl_decisions_; 249 bool did_revoke_user_ssl_decisions_;
249 250
250 Profile* profile_; 251 Profile* profile_;
251 252
252 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); 253 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
253 }; 254 };
254 255
255 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 256 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/website_settings_popup_android.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698