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 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 |
11 // preference on desktop. | 11 // preference on desktop. |
12 // These preferences must not be registered by //ios code. | 12 // These preferences must not be registered by //ios code. |
13 // See chrome/common/pref_names.cc for a detailed description of each | 13 // See chrome/common/pref_names.cc for a detailed description of each |
14 // preference. | 14 // preference. |
15 | 15 |
16 const char kAcceptLanguages[] = "intl.accept_languages"; | 16 const char kAcceptLanguages[] = "intl.accept_languages"; |
| 17 const char kHomePage[] = "homepage"; |
17 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 18 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
18 | 19 |
19 } // namespace prefs | 20 } // namespace prefs |
20 } // namespace ios | 21 } // namespace ios |
21 | 22 |
22 namespace prefs { | 23 namespace prefs { |
23 | 24 |
24 // *************** CHROME BROWSER STATE PREFS *************** | 25 // *************** CHROME BROWSER STATE PREFS *************** |
25 // These are attached to the user Chrome browser state. | 26 // These are attached to the user Chrome browser state. |
26 | 27 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // authorization. | 99 // authorization. |
99 extern const char kOmniboxGeolocationAuthorizationState[] = | 100 extern const char kOmniboxGeolocationAuthorizationState[] = |
100 "ios.omnibox.geolocation_authorization_state"; | 101 "ios.omnibox.geolocation_authorization_state"; |
101 | 102 |
102 // String which contains the application version when we last showed the | 103 // String which contains the application version when we last showed the |
103 // authorization alert. | 104 // authorization alert. |
104 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = | 105 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = |
105 "ios.omnibox.geolocation_last_authorization_alert_version"; | 106 "ios.omnibox.geolocation_last_authorization_alert_version"; |
106 | 107 |
107 } // namespace prefs | 108 } // namespace prefs |
OLD | NEW |