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

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

Issue 1207353005: [iOS] Upstream some stability code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « ios/chrome/browser/pref_names.h ('k') | ios/chrome/ios_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 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 29 matching lines...) Expand all
40 // Boolean which indicates if the user has already set a "do not backup" bit to 40 // Boolean which indicates if the user has already set a "do not backup" bit to
41 // the OTR Profiles's state stash path to ensure that the folder is not 41 // the OTR Profiles's state stash path to ensure that the folder is not
42 // automatically synced to iCloud/iTunes. 42 // automatically synced to iCloud/iTunes.
43 const char kOTRStashStatePathSystemBackupExcluded[] = 43 const char kOTRStashStatePathSystemBackupExcluded[] =
44 "ios.otr_stash_state_path_system_backup_excluded"; 44 "ios.otr_stash_state_path_system_backup_excluded";
45 45
46 // Whether Chrome should attempt to hand off the current URL to other Apple 46 // Whether Chrome should attempt to hand off the current URL to other Apple
47 // devices that share an iCloud account. 47 // devices that share an iCloud account.
48 const char kIosHandoffToOtherDevices[] = "ios.handoff_to_other_devices"; 48 const char kIosHandoffToOtherDevices[] = "ios.handoff_to_other_devices";
49 49
50 // True if the previous session exited cleanly.
51 // This can be different from kStabilityExitedCleanly, because the last run of
52 // the program may not have included a browsing session, and thus the last run
53 // of the program may have happened after the run that included the last
54 // session.
55 const char kLastSessionExitedCleanly[] =
56 "ios.user_experience_metrics.last_session_exited_cleanly";
57
50 // Preference that hold a boolean indicating whether metrics reporting should 58 // Preference that hold a boolean indicating whether metrics reporting should
51 // be limited to wifi (when enabled). 59 // be limited to wifi (when enabled).
52 const char kMetricsReportingWifiOnly[] = 60 const char kMetricsReportingWifiOnly[] =
53 "ios.user_experience_metrics.wifi_only"; 61 "ios.user_experience_metrics.wifi_only";
54 62
55 // Preference that hold a boolean indicating whether network prediction should 63 // Preference that hold a boolean indicating whether network prediction should
56 // be limited to wifi (when enabled). 64 // be limited to wifi (when enabled).
57 const char kNetworkPredictionWifiOnly[] = "ios.dns_prefetching.wifi_only"; 65 const char kNetworkPredictionWifiOnly[] = "ios.dns_prefetching.wifi_only";
58 66
59 // Which bookmarks folder should be visible on the new tab page v4. 67 // Which bookmarks folder should be visible on the new tab page v4.
(...skipping 30 matching lines...) Expand all
90 // authorization. 98 // authorization.
91 extern const char kOmniboxGeolocationAuthorizationState[] = 99 extern const char kOmniboxGeolocationAuthorizationState[] =
92 "ios.omnibox.geolocation_authorization_state"; 100 "ios.omnibox.geolocation_authorization_state";
93 101
94 // String which contains the application version when we last showed the 102 // String which contains the application version when we last showed the
95 // authorization alert. 103 // authorization alert.
96 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = 104 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] =
97 "ios.omnibox.geolocation_last_authorization_alert_version"; 105 "ios.omnibox.geolocation_last_authorization_alert_version";
98 106
99 } // namespace prefs 107 } // namespace prefs
OLDNEW
« no previous file with comments | « ios/chrome/browser/pref_names.h ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698