| 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 #ifndef IOS_CHROME_BROWSER_PREF_NAMES_H_ | 5 #ifndef IOS_CHROME_BROWSER_PREF_NAMES_H_ |
| 6 #define IOS_CHROME_BROWSER_PREF_NAMES_H_ | 6 #define IOS_CHROME_BROWSER_PREF_NAMES_H_ |
| 7 | 7 |
| 8 namespace ios { | 8 namespace ios { |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| 11 // Preferences in ios::prefs:: are temporary shared with desktop Chrome. | 11 // Preferences in ios::prefs:: are temporary shared with desktop Chrome. |
| 12 // Non-shared preferences should be in the prefs:: namespace (no ios::). | 12 // Non-shared preferences should be in the prefs:: namespace (no ios::). |
| 13 extern const char kAcceptLanguages[]; | 13 extern const char kAcceptLanguages[]; |
| 14 extern const char kSavingBrowserHistoryDisabled[]; | 14 extern const char kSavingBrowserHistoryDisabled[]; |
| 15 | 15 |
| 16 } // namespace prefs | 16 } // namespace prefs |
| 17 } // namespace ios | 17 } // namespace ios |
| 18 | 18 |
| 19 namespace prefs { | 19 namespace prefs { |
| 20 | 20 |
| 21 extern const char kContextualSearchEnabled[]; | 21 extern const char kContextualSearchEnabled[]; |
| 22 extern const char kIosBookmarkFolderDefault[]; | 22 extern const char kIosBookmarkFolderDefault[]; |
| 23 extern const char kIosBookmarkPromoAlreadySeen[]; | 23 extern const char kIosBookmarkPromoAlreadySeen[]; |
| 24 extern const char kOTRStashStatePathSystemBackupExcluded[]; | 24 extern const char kOTRStashStatePathSystemBackupExcluded[]; |
| 25 extern const char kIosHandoffToOtherDevices[]; | 25 extern const char kIosHandoffToOtherDevices[]; |
| 26 extern const char kLastSessionExitedCleanly[]; |
| 26 extern const char kMetricsReportingWifiOnly[]; | 27 extern const char kMetricsReportingWifiOnly[]; |
| 27 extern const char kNetworkPredictionWifiOnly[]; | 28 extern const char kNetworkPredictionWifiOnly[]; |
| 28 extern const char kNtpShownBookmarksFolder[]; | 29 extern const char kNtpShownBookmarksFolder[]; |
| 29 extern const char kPaymentsPreferredUserId[]; | 30 extern const char kPaymentsPreferredUserId[]; |
| 30 extern const char kShowMemoryDebuggingTools[]; | 31 extern const char kShowMemoryDebuggingTools[]; |
| 31 | 32 |
| 32 extern const char kVoiceSearchLocale[]; | 33 extern const char kVoiceSearchLocale[]; |
| 33 extern const char kVoiceSearchTTS[]; | 34 extern const char kVoiceSearchTTS[]; |
| 34 | 35 |
| 35 extern const char kSigninLastAccounts[]; | 36 extern const char kSigninLastAccounts[]; |
| 36 extern const char kSigninSharedAuthenticationUserId[]; | 37 extern const char kSigninSharedAuthenticationUserId[]; |
| 37 extern const char kSigninShouldPromptForSigninAgain[]; | 38 extern const char kSigninShouldPromptForSigninAgain[]; |
| 38 | 39 |
| 39 extern const char kOmniboxGeolocationAuthorizationState[]; | 40 extern const char kOmniboxGeolocationAuthorizationState[]; |
| 40 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[]; | 41 extern const char kOmniboxGeolocationLastAuthorizationAlertVersion[]; |
| 41 | 42 |
| 42 } // namespace prefs | 43 } // namespace prefs |
| 43 | 44 |
| 44 #endif // IOS_CHROME_BROWSER_PREF_NAMES_H_ | 45 #endif // IOS_CHROME_BROWSER_PREF_NAMES_H_ |
| OLD | NEW |