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 "components/search_engines/search_engines_pref_names.h" | 5 #include "components/search_engines/search_engines_pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // The GUID of the synced default search provider. Note that this acts like a | 9 // The GUID of the synced default search provider. Note that this acts like a |
10 // pointer to which synced search engine should be the default, rather than the | 10 // pointer to which synced search engine should be the default, rather than the |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "default_search_provider.prepopulate_id"; | 87 "default_search_provider.prepopulate_id"; |
88 | 88 |
89 // The alternate urls of the default search provider. | 89 // The alternate urls of the default search provider. |
90 const char kDefaultSearchProviderAlternateURLs[] = | 90 const char kDefaultSearchProviderAlternateURLs[] = |
91 "default_search_provider.alternate_urls"; | 91 "default_search_provider.alternate_urls"; |
92 | 92 |
93 // Search term placement query parameter for the default search provider. | 93 // Search term placement query parameter for the default search provider. |
94 const char kDefaultSearchProviderSearchTermsReplacementKey[] = | 94 const char kDefaultSearchProviderSearchTermsReplacementKey[] = |
95 "default_search_provider.search_terms_replacement_key"; | 95 "default_search_provider.search_terms_replacement_key"; |
96 | 96 |
| 97 // The dictionary key used when the default search providers are given |
| 98 // in the preferences file. Normally they are copied from the master |
| 99 // preferences file. |
| 100 const char kSearchProviderOverrides[] = "search_provider_overrides"; |
| 101 // The format version for the dictionary above. |
| 102 const char kSearchProviderOverridesVersion[] = |
| 103 "search_provider_overrides_version"; |
| 104 |
| 105 // Integer containing the system Country ID the first time we checked the |
| 106 // template URL prepopulate data. This is used to avoid adding a whole bunch of |
| 107 // new search engine choices if prepopulation runs when the user's Country ID |
| 108 // differs from their previous Country ID. This pref does not exist until |
| 109 // prepopulation has been run at least once. |
| 110 const char kCountryIDAtInstall[] = "countryid_at_install"; |
| 111 // OBSOLETE. Same as above, but uses the Windows-specific GeoID value instead. |
| 112 // Updated if found to the above key. |
| 113 const char kGeoIDAtInstall[] = "geoid_at_install"; |
| 114 |
97 } // namespace prefs | 115 } // namespace prefs |
OLD | NEW |