summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs
Commit message (Collapse)AuthorAgeFilesLines
* Store settings that should be signed in temporary place before owner is ↵dilmah@chromium.org2010-10-281-0/+2
| | | | | | | | | | | | | assigned. Make proxy settings work on welcome screen in chromium OS. BUG=http://crosbug.com/3062 TEST=Manual Review URL: http://codereview.chromium.org/3860001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64241 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM.mattm@chromium.org2010-10-212-11/+11
| | | | | | | | | | | ARGUMENTS_ONLY was misleading since CommandLine has methods for handling "switches" and "arguments", but that constructor still allows both. BUG=none TEST=still builds Review URL: http://codereview.chromium.org/3935001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63325 0039d316-1c4b-4281-b951-d872f2087c98
* Enable about:flags in ChromeOS, part 1thakis@chromium.org2010-10-191-2/+1
| | | | | | | | | BUG=57634 TEST=Go to about:flags in ChromeOS. It should appear. Review URL: http://codereview.chromium.org/3896001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63137 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Even more ctor/virtual deinlining.erg@google.com2010-10-194-3/+9
| | | | | | | | | | | (Only 424k off Linux debug .a files). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3859003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63059 0039d316-1c4b-4281-b951-d872f2087c98
* Add Group-Policy to disable the SPDY protocol.mbelshe@chromium.org2010-10-161-0/+2
| | | | | | | | | BUG=59105 TEST=Configuration* Review URL: http://codereview.chromium.org/3782007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62875 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in PrefValueStoreTest.DetectProxyConfigurationConflict.thestig@chromium.org2010-10-151-4/+2
| | | | | | | | BUG=none TEST=Valgrind and Heapchecker goes green. Review URL: http://codereview.chromium.org/3770013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62807 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2010-10-151-2/+2
| | | | | | | | | | CID=1420,1480,1517,1634 BUG=none TEST=none Review URL: http://codereview.chromium.org/3767001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62776 0039d316-1c4b-4281-b951-d872f2087c98
* When a proxy command line switches are specified, policy admin warning ↵danno@chromium.org2010-10-156-110/+358
| | | | | | | | | | | | | shouldn't be shown Removed the logic from the ConfigurationPolicyPrefStore that sets managed preferences, it's now completely handled by CommandLinePrefStore. Moved the detection of conflicting proxy settings between the managed and other stores into the PrefValueStore. Implemented a sentinel value that can be used by stores to signal that they are returning the default value. Changed managed store to use this sentinel to hide non-managed proxy settings proxy settings when proxy policy is specified. BUG=54792 TEST=manual Review URL: http://codereview.chromium.org/3367021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62716 0039d316-1c4b-4281-b951-d872f2087c98
* Rename about:labs to about:flags, part 3/3thakis@chromium.org2010-10-151-4/+4
| | | | | | | | | | | This renames the cc and h files, and renames the --no-labs switch to --no-experiments BUG=59139 TEST=about:flags still works Review URL: http://codereview.chromium.org/3777005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62682 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-141-1/+1
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part21:tfarina@chromium.org2010-10-124-4/+4
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 100 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3691006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62286 0039d316-1c4b-4281-b951-d872f2087c98
* Rename LanguageMenuButton to InputMethodMenuButton to be consistent with ↵yusukes@chromium.org2010-10-121-2/+2
| | | | | | | | | | | other code in the Chrome tree. BUG=chromium-os:7528 TEST=manually Review URL: http://codereview.chromium.org/3672006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62269 0039d316-1c4b-4281-b951-d872f2087c98
* Adds confirm dialog when enabling instant.sky@chromium.org2010-10-111-0/+2
| | | | | | | | | BUG=58567 TEST=none Review URL: http://codereview.chromium.org/3710002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62197 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part13:tfarina@chromium.org2010-10-105-24/+24
| | | | | | | | | | | | | - Rename entries under appcache, automation, chromeos, cocoa, file_system, metrics, policy, prefs, remoting, search_engines and tab_contents. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3660002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62120 0039d316-1c4b-4281-b951-d872f2087c98
* Decouples certificates viewers from NSS to prepare support for OpenSSL.bulach@chromium.org2010-10-081-2/+0
| | | | | | | | | | | | This change is a pre-requisite for http://codereview.chromium.org/3529008/show There are no functional changes, it's only refactoring existing code. BUG=None TEST=Go to an https:// page and check the certificate info. Review URL: http://codereview.chromium.org/3565006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61944 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression of startup URL policygfeher@chromium.org2010-10-072-10/+69
| | | | | | | | | | | Make the policy that overrides the list of URLs be effective again, and add a unit test for it. BUG=57997 TEST=SessionStartupPrefUnittest.URLListManagedOverridesUser Review URL: http://codereview.chromium.org/3621008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61792 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the default search provider to be specified via group policy. Also ↵jeanluc@google.com2010-10-052-0/+3
| | | | | | | | | | | | | | allow group policy to specify that there is no default. Respond to at run time to changes of policy. Handle the default search becoming managed or un-managed, or having the default change while staying managed. Optimize notification of observers so that we don't repeatedly notify observers for what is one change. Change in Preferences.xib: Add defaultSearchEngineEnabled keypath to enable/disable the default search engine combobox in the Basic preference pane. BUG=49306 TEST=ConfigurationPolicyPrefStoreDefaultSearchTest.*, TemplateURLModelTest.*, KeywordEditorControllerTest*, SearchProviderInstall*, ConfigDirPolicyProviderValueTestInstance*, ConfigurationPolicyProvider* Review URL: http://codereview.chromium.org/3402023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61588 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Continue fixing nits found by my automated source scanner.erg@google.com2010-10-052-2/+9
| | | | | | | | | | | (~1.3 megs off Debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3556013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61587 0039d316-1c4b-4281-b951-d872f2087c98
* A subtle bug was exposed when the following was added to ↵stevenjb@google.com2010-10-014-19/+43
| | | | | | | | | | | | | | | | | | | | Preferences::RegisterUserPrefs: prefs->RegisterIntegerPref(prefs::kLabsTalkEnabled, 0); Because prefs::kLabsTalkEnabled = "extensions.settings.ggnioahjipcehijkhpdjekioddnjoben.state", "extensions.settings" in the DEFAULT pref store is forced to a DictionaryValue instead of an empty value so that data can be stored in it. This invalidaded a test in PrefService::GetMutableDictionary, causing GetMutableDictionary to return a pointer to a DictionaryValue in the default pref store instead of creating a dictionary in the user pref store. BUG=http://code.google.com/p/chromium-os/issues/detail?id=7066 TEST=See bug; should no longer repro. Also, test preferences in general. Review URL: http://codereview.chromium.org/3533008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61209 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling browsing history.phajdan.jr@chromium.org2010-10-011-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3432033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61169 0039d316-1c4b-4281-b951-d872f2087c98
* o Add user customizable launch type for apps by adding options in each apps ↵andybons@chromium.org2010-09-302-4/+4
| | | | | | | | | | | | | | | | | | | | | context menu. o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification. o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist. o Some minor refactoring within the code to reduce duplication. BUG=54731 TEST=NONE patch from issue 3419010 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60997 Reverted: http://crrev.com/61000 Review URL: http://codereview.chromium.org/3453029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61021 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60997 - o Add user customizable launch type for apps by adding ↵andybons@chromium.org2010-09-292-4/+4
| | | | | | | | | | | | | | | | | | | | options in each apps context menu. o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification. o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist. o Some minor refactoring within the code to reduce duplication. BUG=54731 TEST=NONE patch from issue 3419010 Review URL: http://codereview.chromium.org/3453029 TBR=andybons@chromium.org Review URL: http://codereview.chromium.org/3517004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61000 0039d316-1c4b-4281-b951-d872f2087c98
* o Add user customizable launch type for apps by adding options in each apps ↵andybons@chromium.org2010-09-292-4/+4
| | | | | | | | | | | | | | | | | context menu. o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification. o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist. o Some minor refactoring within the code to reduce duplication. BUG=54731 TEST=NONE patch from issue 3419010 Review URL: http://codereview.chromium.org/3453029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60997 0039d316-1c4b-4281-b951-d872f2087c98
* Use PrefChangeRegistrar everywheredanno@chromium.org2010-09-297-40/+103
| | | | | | | | | | | BUG=54955 TEST=PrefChangeRegistrarTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60169 Review URL: http://codereview.chromium.org/3304015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60935 0039d316-1c4b-4281-b951-d872f2087c98
* Move task manager code into a subdirectory.evan@chromium.org2010-09-231-1/+1
| | | | | | | | | BUG=50548 TEST=compiles Review URL: http://codereview.chromium.org/3454028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60325 0039d316-1c4b-4281-b951-d872f2087c98
* Improve comment for PrefValueStore::HasPrefPath().pam@chromium.org2010-09-231-2/+5
| | | | | | | | BUG=52719 TEST=none needed, comment-only change Review URL: http://codereview.chromium.org/3397020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60277 0039d316-1c4b-4281-b951-d872f2087c98
* Implement users options handling in login screen.xiyuan@chromium.org2010-09-221-0/+2
| | | | | | | | | | | | - Use BrowserProcess's local_state as a cache to users settings; - Update login code to use the cached users settings per chromium-os:6789 BUG=chromium-os:6789 TEST=Verify fix for chromium-os:6789. Review URL: http://codereview.chromium.org/3413021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60195 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60169 - Use PrefChangeRegistrar everywheredanno@chromium.org2010-09-227-103/+40
| | | | | | | | | | | BUG=54955 TEST=PrefChangeRegistrarTest.* Review URL: http://codereview.chromium.org/3304015 TBR=danno@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60170 0039d316-1c4b-4281-b951-d872f2087c98
* Use PrefChangeRegistrar everywheredanno@chromium.org2010-09-227-40/+103
| | | | | | | | | BUG=54955 TEST=PrefChangeRegistrarTest.* Review URL: http://codereview.chromium.org/3304015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60169 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated ScopedPrefUpdate constructortfarina@chromium.org2010-09-212-9/+2
| | | | | | | | | | | (Note: This was a TODO for viettrunglu). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3449012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60007 0039d316-1c4b-4281-b951-d872f2087c98
* Remove vestigial cookie/web app permissions prompting UI now that the async ↵ben@chromium.org2010-09-171-2/+0
| | | | | | | | | | UI has been approved for M7.This allows me to more easily change the way the appmodal dialog system works. http://crbug.com/55121 TEST=existing tests Review URL: http://codereview.chromium.org/3299020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59838 0039d316-1c4b-4281-b951-d872f2087c98
* Make pref service more robust against prefs that change their types without ↵pam@chromium.org2010-09-175-61/+171
| | | | | | | | | | | | | | | | | | | | updating user pref values. The outdated value will be ignored, but can be overwritten by a value of the correct type. Developers who change types of prefs should provide migration functionality if needed. Changing the pref's path (i.e., its name) is also advisable, but watch out that you don't leave an orphaned pref value in the user pref file forever. This change also moves tracking of preference types out of PrefService::Preference and into the PrefValueStore, because the latter now needs to know the registered pref types. This is an implementation change, only "externally" visible to unit tests. BUG=55552 TEST=covered by unit tests; also, Chrome launched with a pre-June 2010 profile containing kWebkitInspectorSettings shouldn't crash Review URL: http://codereview.chromium.org/3411011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59773 0039d316-1c4b-4281-b951-d872f2087c98
* Create a DefaultPrefStore to hold registered application-default preference ↵pam@chromium.org2010-09-1411-434/+453
| | | | | | | | | | | | | | | values. Also rework preference notifications so they're not sent when a pref store rewrites the same value it already had, to avoid infinite recursion in places that set a pref in response to a notification that that pref has changed. This allows notifications to be sent properly when another PrefStore takes control from a default value. BUG=52719, 54950 TEST=covered by unit tests (PrefValueStoreTest.*, PrefNotifierTest.*, and ExtensionPrefStoreTest.*) Review URL: http://codereview.chromium.org/3323022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59345 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵jeanluc@google.com2010-09-132-1/+21
| | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3374004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59270 0039d316-1c4b-4281-b951-d872f2087c98
* Policy: plugins disabled by policy should honor policy changes without ↵danno@chromium.org2010-09-104-1/+194
| | | | | | | | | | | Chrome relaunch. BUG=54620 TEST=PrefChangeRegistrarTest.* Review URL: http://codereview.chromium.org/3316007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59094 0039d316-1c4b-4281-b951-d872f2087c98
* Move policy-related stuff to its own namespace.mnissler@chromium.org2010-09-102-1/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3360019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59089 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59020 - Add constants for preferences and policies related to the ↵thestig@chromium.org2010-09-102-21/+1
| | | | | | | | | | | | | | Default Search Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3359012 TBR=jeanluc@google.com Review URL: http://codereview.chromium.org/3357026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59040 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵jeanluc@google.com2010-09-092-1/+21
| | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3359012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59020 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd attempt at http://codereview.chromium.org/3305003/showjohnnyg@chromium.org2010-09-091-0/+2
| | | | | | | | | | | | | | | | | | The difference between this patch and the other one is plumbing setup_in_test_mode through the Initialization process, rather than using a separate SetupInTestMode() method, which happens too late to safely stop the syncer thread. [see syncapi.cc|h for most of the changes.] --- This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3342025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58993 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58920 - Create a DefaultPrefStore to hold registered ↵pam@chromium.org2010-09-0911-345/+137
| | | | | | | | | | | | | | | | | application-default preference values. This allows notifications to be sent properly when another PrefStore takes control from a default value. BUG=52719 TEST=covered by PrefValueStoreTest.* unit tests Review URL: http://codereview.chromium.org/3331016 TBR=pam@chromium.org [Reverting because it causes PrefsControllerTest.ValidateCustomHomePagesTable to crash on Mac.] Review URL: http://codereview.chromium.org/3353019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58925 0039d316-1c4b-4281-b951-d872f2087c98
* Create a DefaultPrefStore to hold registered application-default preference ↵pam@chromium.org2010-09-0911-137/+345
| | | | | | | | | | | | values. This allows notifications to be sent properly when another PrefStore takes control from a default value. BUG=52719 TEST=covered by PrefValueStoreTest.* unit tests Review URL: http://codereview.chromium.org/3331016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58920 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58778 - New authorization framework for sync. johnnyg@chromium.org2010-09-081-2/+0
| | | | | | | | | | | | | | | | | | | | | To quote chron's original patch (http://codereview.chromium.org/3148036/show) <blockquote> This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. </blockquote> BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3305003 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/3310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58782 0039d316-1c4b-4281-b951-d872f2087c98
* New authorization framework for sync. johnnyg@chromium.org2010-09-081-0/+2
| | | | | | | | | | | | | | | | | | To quote chron's original patch (http://codereview.chromium.org/3148036/show) <blockquote> This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. </blockquote> BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3305003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58778 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58630 - Add constants for preferences and policies related to the ↵mnissler@chromium.org2010-09-062-21/+1
| | | | | | | | | | | | | | | Default Search Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3363005 Patch from Jean-Luc Brouillet <jeanluc@google.com>. TBR=mnissler@chromium.org Review URL: http://codereview.chromium.org/3307012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58637 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵mnissler@chromium.org2010-09-062-1/+21
| | | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3363005 Patch from Jean-Luc Brouillet <jeanluc@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58630 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup startup URLs when loaded from preferencesgfeher@chromium.org2010-09-061-2/+5
| | | | | | | | | | | Issue a URL fixup for each startup URL when loaded through SessionStartupPref. This is used by both the preferences GUI and browser_init.cc. BUG=54249 TEST=manual Review URL: http://codereview.chromium.org/3350004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58629 0039d316-1c4b-4281-b951-d872f2087c98
* Gracefully handle the case of empty preference file names in PrefValueStore.mnissler@chromium.org2010-09-031-5/+3
| | | | | | | | | BUG=53917 TEST=Instead of crashing, chrome should display a message if it cannot determine the local state file. Review URL: http://codereview.chromium.org/3322005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58471 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: make more PrefMember methods const.phajdan.jr@chromium.org2010-08-312-19/+22
| | | | | | | | | | | | | | | | This allows the users of PrefService to make their accessors that refer to PrefMember members const too. We use mutable for some PrefMember members, when they do not reflect the outside-visible state. Those members are used to do lazy loading of the preference values. BUG=none TEST=none Review URL: http://codereview.chromium.org/3271004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58086 0039d316-1c4b-4281-b951-d872f2087c98
* Move Google-specific code under browser/ into browser/google/.evan@chromium.org2010-08-301-1/+1
| | | | | | | | | BUG=50548 TEST=compiles Review URL: http://codereview.chromium.org/3280008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57922 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Extract all preferences-related code from DownloadManager to ↵phajdan.jr@chromium.org2010-08-301-2/+2
| | | | | | | | | | | DownloadPrefs. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3226010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57916 0039d316-1c4b-4281-b951-d872f2087c98