| 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"; | |
| 18 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 17 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
| 19 | 18 |
| 20 } // namespace prefs | 19 } // namespace prefs |
| 21 } // namespace ios | 20 } // namespace ios |
| 22 | 21 |
| 23 namespace prefs { | 22 namespace prefs { |
| 24 | 23 |
| 25 // *************** CHROME BROWSER STATE PREFS *************** | 24 // *************** CHROME BROWSER STATE PREFS *************** |
| 26 // These are attached to the user Chrome browser state. | 25 // These are attached to the user Chrome browser state. |
| 27 | 26 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // authorization. | 98 // authorization. |
| 100 extern const char kOmniboxGeolocationAuthorizationState[] = | 99 extern const char kOmniboxGeolocationAuthorizationState[] = |
| 101 "ios.omnibox.geolocation_authorization_state"; | 100 "ios.omnibox.geolocation_authorization_state"; |
| 102 | 101 |
| 103 // String which contains the application version when we last showed the | 102 // String which contains the application version when we last showed the |
| 104 // authorization alert. | 103 // authorization alert. |
| 105 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = | 104 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = |
| 106 "ios.omnibox.geolocation_last_authorization_alert_version"; | 105 "ios.omnibox.geolocation_last_authorization_alert_version"; |
| 107 | 106 |
| 108 } // namespace prefs | 107 } // namespace prefs |
| OLD | NEW |