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

Side by Side Diff: ios/chrome/browser/pref_names.cc

Issue 1495443006: Keep WKWebView control group users in the control group (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ios/chrome/browser/pref_names.h ('k') | no next file » | 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 "ios/chrome/browser/pref_names.h" 5 #include "ios/chrome/browser/pref_names.h"
6 6
7 namespace ios { 7 namespace ios {
8 namespace prefs { 8 namespace prefs {
9 9
10 // Preferences in ios::prefs:: must have the same value as the corresponding 10 // Preferences in ios::prefs:: must have the same value as the corresponding
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const char kIosHandoffToOtherDevices[] = "ios.handoff_to_other_devices"; 63 const char kIosHandoffToOtherDevices[] = "ios.handoff_to_other_devices";
64 64
65 // True if the previous session exited cleanly. 65 // True if the previous session exited cleanly.
66 // This can be different from kStabilityExitedCleanly, because the last run of 66 // This can be different from kStabilityExitedCleanly, because the last run of
67 // the program may not have included a browsing session, and thus the last run 67 // the program may not have included a browsing session, and thus the last run
68 // of the program may have happened after the run that included the last 68 // of the program may have happened after the run that included the last
69 // session. 69 // session.
70 const char kLastSessionExitedCleanly[] = 70 const char kLastSessionExitedCleanly[] =
71 "ios.user_experience_metrics.last_session_exited_cleanly"; 71 "ios.user_experience_metrics.last_session_exited_cleanly";
72 72
73 // True if the previous session was selected into the WKWebView control group.
74 const char kLastSessionUsedWKWebViewControlGroup[] =
75 "ios.wkwebview_trial.was_control";
76
73 // Preference that hold a boolean indicating whether metrics reporting should 77 // Preference that hold a boolean indicating whether metrics reporting should
74 // be limited to wifi (when enabled). 78 // be limited to wifi (when enabled).
75 const char kMetricsReportingWifiOnly[] = 79 const char kMetricsReportingWifiOnly[] =
76 "ios.user_experience_metrics.wifi_only"; 80 "ios.user_experience_metrics.wifi_only";
77 81
78 // A boolean pref set to true if prediction of network actions is allowed. 82 // A boolean pref set to true if prediction of network actions is allowed.
79 // Actions include prerendering of web pages. 83 // Actions include prerendering of web pages.
80 // NOTE: The "dns_prefetching.enabled" value is used so that historical user 84 // NOTE: The "dns_prefetching.enabled" value is used so that historical user
81 // preferences are not lost. 85 // preferences are not lost.
82 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 86 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // authorization alert. 128 // authorization alert.
125 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = 129 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] =
126 "ios.omnibox.geolocation_last_authorization_alert_version"; 130 "ios.omnibox.geolocation_last_authorization_alert_version";
127 131
128 // Integer which contains the timestamp at which the "Rate This App" dialog was 132 // Integer which contains the timestamp at which the "Rate This App" dialog was
129 // last shown. 133 // last shown.
130 const char kRateThisAppDialogLastShownTime[] = 134 const char kRateThisAppDialogLastShownTime[] =
131 "ios.ratethisapp.dialog_last_shown_time"; 135 "ios.ratethisapp.dialog_last_shown_time";
132 136
133 } // namespace prefs 137 } // namespace prefs
OLDNEW
« no previous file with comments | « ios/chrome/browser/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698