| 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/google/core/browser/google_pref_names.h" | 5 #include "components/google/core/browser/google_pref_names.h" |
| 6 | 6 |
| 7 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // String containing the last known Google URL. We re-detect this on startup in | 9 // String containing the last known Google URL. We re-detect this on startup in |
| 10 // most cases, and use it to send traffic to the correct Google host or with the | 10 // most cases, and use it to send traffic to the correct Google host or with the |
| 11 // correct Google domain/country code for whatever location the user is in. | 11 // correct Google domain/country code for whatever location the user is in. |
| 12 const char kLastKnownGoogleURL[] = "browser.last_known_google_url"; | 12 const char kLastKnownGoogleURL[] = "browser.last_known_google_url"; |
| 13 | 13 |
| 14 // String containing the last prompted Google URL to the user. | |
| 15 // If the user is using .x TLD for Google URL and gets prompted about .y TLD | |
| 16 // for Google URL, and says "no", we should leave the search engine set to .x | |
| 17 // but not prompt again until the domain changes away from .y. | |
| 18 const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url"; | |
| 19 | |
| 20 } // namespace prefs | 14 } // namespace prefs |
| OLD | NEW |