Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/common/pref_names.cc

Issue 525079: Add autodetection of "intranet" redirection, for ISPs etc. that send typos an... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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
11 11
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 const wchar_t kShouldUseOEMFirstRunBubble[] = L"show-OEM-first-run-bubble"; 512 const wchar_t kShouldUseOEMFirstRunBubble[] = L"show-OEM-first-run-bubble";
513 513
514 // Signal that we should show the welcome page when we launch Chrome. 514 // Signal that we should show the welcome page when we launch Chrome.
515 const wchar_t kShouldShowWelcomePage[] = L"show-welcome-page"; 515 const wchar_t kShouldShowWelcomePage[] = L"show-welcome-page";
516 516
517 // String containing the last known Google URL. We re-detect this on startup in 517 // String containing the last known Google URL. We re-detect this on startup in
518 // most cases, and use it to send traffic to the correct Google host or with the 518 // most cases, and use it to send traffic to the correct Google host or with the
519 // correct Google domain/country code for whatever location the user is in. 519 // correct Google domain/country code for whatever location the user is in.
520 const wchar_t kLastKnownGoogleURL[] = L"browser.last_known_google_url"; 520 const wchar_t kLastKnownGoogleURL[] = L"browser.last_known_google_url";
521 521
522 // String containing the last known intranet redirect URL, if any. See
523 // intranet_redirect_detector.h for more information.
524 const wchar_t kLastKnownIntranetRedirectOrigin[] = L"";
525
522 // Integer containing the system Country ID the first time we checked the 526 // Integer containing the system Country ID the first time we checked the
523 // template URL prepopulate data. This is used to avoid adding a whole bunch of 527 // template URL prepopulate data. This is used to avoid adding a whole bunch of
524 // new search engine choices if prepopulation runs when the user's Country ID 528 // new search engine choices if prepopulation runs when the user's Country ID
525 // differs from their previous Country ID. This pref does not exist until 529 // differs from their previous Country ID. This pref does not exist until
526 // prepopulation has been run at least once. 530 // prepopulation has been run at least once.
527 const wchar_t kCountryIDAtInstall[] = L"countryid_at_install"; 531 const wchar_t kCountryIDAtInstall[] = L"countryid_at_install";
528 // OBSOLETE. Same as above, but uses the Windows-specific GeoID value instead. 532 // OBSOLETE. Same as above, but uses the Windows-specific GeoID value instead.
529 // Updated if found to the above key. 533 // Updated if found to the above key.
530 const wchar_t kGeoIDAtInstall[] = L"geoid_at_install"; 534 const wchar_t kGeoIDAtInstall[] = L"geoid_at_install";
531 535
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; 609 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed";
606 610
607 // Create web application shortcut dialog preferences. 611 // Create web application shortcut dialog preferences.
608 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; 612 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop";
609 const wchar_t kWebAppCreateInAppsMenu[] = 613 const wchar_t kWebAppCreateInAppsMenu[] =
610 L"browser.web_app.create_in_apps_menu"; 614 L"browser.web_app.create_in_apps_menu";
611 const wchar_t kWebAppCreateInQuickLaunchBar[] = 615 const wchar_t kWebAppCreateInQuickLaunchBar[] =
612 L"browser.web_app.create_in_quick_launch_bar"; 616 L"browser.web_app.create_in_quick_launch_bar";
613 617
614 } // namespace prefs 618 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698