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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2518963002: Record metric of geo permission before and after showing the disclosure. (Closed)
Patch Set: Feedback 2 Created 4 years 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) 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 const char kSearchGeolocationDisclosureDismissed[] = 2307 const char kSearchGeolocationDisclosureDismissed[] =
2308 "search_geolocation_disclosure.dismissed"; 2308 "search_geolocation_disclosure.dismissed";
2309 2309
2310 // How many times the search geolocation disclosure has been shown. 2310 // How many times the search geolocation disclosure has been shown.
2311 const char kSearchGeolocationDisclosureShownCount[] = 2311 const char kSearchGeolocationDisclosureShownCount[] =
2312 "search_geolocation_disclosure.shown_count"; 2312 "search_geolocation_disclosure.shown_count";
2313 2313
2314 // When the disclosure was shown last. 2314 // When the disclosure was shown last.
2315 const char kSearchGeolocationDisclosureLastShowDate[] = 2315 const char kSearchGeolocationDisclosureLastShowDate[] =
2316 "search_geolocation_disclosure.last_show_date"; 2316 "search_geolocation_disclosure.last_show_date";
2317
2318 // Whether the metrics for the state of geolocation pre-disclosure being shown
2319 // have been recorded.
2320 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2321 "search_geolocation_pre_disclosure_metrics_recorded";
2322
2323 // Whether the metrics for the state of geolocation post-disclosure being shown
2324 // have been recorded.
2325 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2326 "search_geolocation_post_disclosure_metrics_recorded";
2317 #endif 2327 #endif
2318 2328
2319 } // namespace prefs 2329 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | third_party/WebKit/public/platform/modules/permissions/permission_status.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698