OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 const char kShouldUseMinimalFirstRunBubble[] = "show-minimal-first-run-bubble"; | 760 const char kShouldUseMinimalFirstRunBubble[] = "show-minimal-first-run-bubble"; |
761 | 761 |
762 // Signal that we should show the welcome page when we launch Chrome. | 762 // Signal that we should show the welcome page when we launch Chrome. |
763 const char kShouldShowWelcomePage[] = "show-welcome-page"; | 763 const char kShouldShowWelcomePage[] = "show-welcome-page"; |
764 | 764 |
765 // String containing the last known Google URL. We re-detect this on startup in | 765 // String containing the last known Google URL. We re-detect this on startup in |
766 // most cases, and use it to send traffic to the correct Google host or with the | 766 // most cases, and use it to send traffic to the correct Google host or with the |
767 // correct Google domain/country code for whatever location the user is in. | 767 // correct Google domain/country code for whatever location the user is in. |
768 const char kLastKnownGoogleURL[] = "browser.last_known_google_url"; | 768 const char kLastKnownGoogleURL[] = "browser.last_known_google_url"; |
769 | 769 |
| 770 // String containing the last prompted Google URL to the user. |
| 771 // If the user is using .x TLD for Google URL and gets prompted about .y TLD |
| 772 // for Google URL, and says "no", we should leave the search engine set to .x |
| 773 // but not prompt again until the domain changes away from .y. |
| 774 const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url"; |
| 775 |
770 // String containing the last known intranet redirect URL, if any. See | 776 // String containing the last known intranet redirect URL, if any. See |
771 // intranet_redirect_detector.h for more information. | 777 // intranet_redirect_detector.h for more information. |
772 const char kLastKnownIntranetRedirectOrigin[] = ""; | 778 const char kLastKnownIntranetRedirectOrigin[] = ""; |
773 | 779 |
774 // Integer containing the system Country ID the first time we checked the | 780 // Integer containing the system Country ID the first time we checked the |
775 // template URL prepopulate data. This is used to avoid adding a whole bunch of | 781 // template URL prepopulate data. This is used to avoid adding a whole bunch of |
776 // new search engine choices if prepopulation runs when the user's Country ID | 782 // new search engine choices if prepopulation runs when the user's Country ID |
777 // differs from their previous Country ID. This pref does not exist until | 783 // differs from their previous Country ID. This pref does not exist until |
778 // prepopulation has been run at least once. | 784 // prepopulation has been run at least once. |
779 const char kCountryIDAtInstall[] = "countryid_at_install"; | 785 const char kCountryIDAtInstall[] = "countryid_at_install"; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 // String specifying the proxy server. For a specification of the expected | 949 // String specifying the proxy server. For a specification of the expected |
944 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). | 950 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). |
945 const char kProxyServer[] = "proxy.server"; | 951 const char kProxyServer[] = "proxy.server"; |
946 // URL to the proxy .pac file. | 952 // URL to the proxy .pac file. |
947 const char kProxyPacUrl[] = "proxy.pac_url"; | 953 const char kProxyPacUrl[] = "proxy.pac_url"; |
948 // String containing proxy bypass rules. For a specification of the | 954 // String containing proxy bypass rules. For a specification of the |
949 // expected syntax see net::ProxyBypassRules::ParseFromString(). | 955 // expected syntax see net::ProxyBypassRules::ParseFromString(). |
950 const char kProxyBypassList[] = "proxy.bypass_list"; | 956 const char kProxyBypassList[] = "proxy.bypass_list"; |
951 | 957 |
952 } // namespace prefs | 958 } // namespace prefs |
OLD | NEW |