146d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
246d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
346d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// found in the LICENSE file.
446d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)
546d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)#include "components/google/core/browser/google_pref_names.h"
646d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)
746d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)namespace prefs {
846d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)
946d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// String containing the last known Google URL.  We re-detect this on startup in
1046d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// most cases, and use it to send traffic to the correct Google host or with the
1146d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// correct Google domain/country code for whatever location the user is in.
1246d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)const char kLastKnownGoogleURL[] = "browser.last_known_google_url";
1346d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)
1446d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// String containing the last prompted Google URL to the user.
1546d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// If the user is using .x TLD for Google URL and gets prompted about .y TLD
1646d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// for Google URL, and says "no", we should leave the search engine set to .x
1746d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)// but not prompt again until the domain changes away from .y.
1846d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url";
1946d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)
2046d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)}  // namespace prefs
21