OLD | NEW |
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 prefs { | 7 namespace prefs { |
8 | 8 |
9 // The value to use for Accept-Languages HTTP header when making an HTTP | 9 // The value to use for Accept-Languages HTTP header when making an HTTP |
10 // request. | 10 // request. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Prefs for persisting HttpServerProperties. | 57 // Prefs for persisting HttpServerProperties. |
58 const char kHttpServerProperties[] = "net.http_server_properties"; | 58 const char kHttpServerProperties[] = "net.http_server_properties"; |
59 | 59 |
60 // Preference that keep information about where to create a new bookmark. | 60 // Preference that keep information about where to create a new bookmark. |
61 const char kIosBookmarkFolderDefault[] = "ios.bookmark.default_folder"; | 61 const char kIosBookmarkFolderDefault[] = "ios.bookmark.default_folder"; |
62 | 62 |
63 // Preference that hold a boolean indicating if the user has already dismissed | 63 // Preference that hold a boolean indicating if the user has already dismissed |
64 // the bookmark promo dialog. | 64 // the bookmark promo dialog. |
65 const char kIosBookmarkPromoAlreadySeen[] = "ios.bookmark.promo_already_seen"; | 65 const char kIosBookmarkPromoAlreadySeen[] = "ios.bookmark.promo_already_seen"; |
66 | 66 |
67 // Whether Chrome should attempt to hand off the current URL to other Apple | |
68 // devices that share an iCloud account. | |
69 const char kIosHandoffToOtherDevices[] = "ios.handoff_to_other_devices"; | |
70 | |
71 // Whether the user has enabled the Physical Web feature to surface URLs | 67 // Whether the user has enabled the Physical Web feature to surface URLs |
72 // broadcast by nearby devices. | 68 // broadcast by nearby devices. |
73 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled"; | 69 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled"; |
74 | 70 |
75 // True if the previous session exited cleanly. | 71 // True if the previous session exited cleanly. |
76 // This can be different from kStabilityExitedCleanly, because the last run of | 72 // This can be different from kStabilityExitedCleanly, because the last run of |
77 // the program may not have included a browsing session, and thus the last run | 73 // the program may not have included a browsing session, and thus the last run |
78 // of the program may have happened after the run that included the last | 74 // of the program may have happened after the run that included the last |
79 // session. | 75 // session. |
80 const char kLastSessionExitedCleanly[] = | 76 const char kLastSessionExitedCleanly[] = |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // authorization alert. | 133 // authorization alert. |
138 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = | 134 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = |
139 "ios.omnibox.geolocation_last_authorization_alert_version"; | 135 "ios.omnibox.geolocation_last_authorization_alert_version"; |
140 | 136 |
141 // Integer which contains the timestamp at which the "Rate This App" dialog was | 137 // Integer which contains the timestamp at which the "Rate This App" dialog was |
142 // last shown. | 138 // last shown. |
143 const char kRateThisAppDialogLastShownTime[] = | 139 const char kRateThisAppDialogLastShownTime[] = |
144 "ios.ratethisapp.dialog_last_shown_time"; | 140 "ios.ratethisapp.dialog_last_shown_time"; |
145 | 141 |
146 } // namespace prefs | 142 } // namespace prefs |
OLD | NEW |