Kkaiwang@chromium.orgMove cancelable_request.cc/h to chrome/browser/common.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Clarified description of the timezone policy. Refining this CL: http://codereview.chromium.org/10832222/ TBR=nirnimesh@chromium.org BUG=chromium-os:27206 Review URL: https://chromiumcodereview.appspot.com/10829449 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153022 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[cros] Remove Views implementation for login/OOBE. Left few Views classes that are used in ScreenLockView. Left --webui-login flag (need a separate cleanup for login auth). Left registration/html page screen (will address separately). BUG=99545 TEST=WebUI login/OOBE should work fine. Review URL: http://codereview.chromium.org/8436002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109233 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove more set noparents BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10824025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148406 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Send try jobs that touch policy code to the linux_chromeos bot too. Review URL: https://chromiumcodereview.appspot.com/10473015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140268 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove FileEnumerator::IsLink BUG=133270 Review URL: https://chromiumcodereview.appspot.com/10916204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156229 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moved CrxInstaller and CrxInstallerError into extensions namespace BUG=134756, 117261 Review URL: https://chromiumcodereview.appspot.com/10683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148244 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add the AsyncPolicyProvider and AsyncPolicyLoader, which provide the same functionality as the AsychronousPolicyProvider/Loader and FileBasedPolicyProvider/Loader. Also has a simpler interface for implementations to override. BUG=130918 TEST=unit_testsAsyncPolicyProviderTest.* Review URL: https://chromiumcodereview.appspot.com/10448118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140518 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix stack corruption bug in FilePathWatcherTest.Callback. BUG=145653 Review URL: https://chromiumcodereview.appspot.com/10912017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154406 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. Also deleted some files left behind when the linux and mac providers were refactored. BUG=130918 TEST=nothing breaks Review URL: https://chromiumcodereview.appspot.com/10545033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141008 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Relanding this as this did not fix the chromiumos breakage. Revert 150391 - Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. Will revert back if it does not address the redness. Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag. Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles. Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters. BUG=141123 TEST=none Review URL: https://chromiumcodereview.appspot.com/10693022 TBR=atwilson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823208 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150404 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce CloudPolicyClient This is part of a clean up of the policy code. CloudPolicyClient moves the core policy interactions into a single class with a well defined interface. Subsequent CLs will remove CloudPolicyController and DeviceTokenFetcher and introduce cleaner separation of policy fetching and caching. BUG=chromium:108928 TEST=Compiles and passes tests. Review URL: https://chromiumcodereview.appspot.com/9109009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138873 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed ConfigurationPolicyType and extended PolicyMap. PolicyMap was strongly coupled to specific Chrome policies, through the ConfigurationPolicyType. That enum has been removed and replaced by strings. Also introduced new PolicyMap-related enums: PolicyScope and PolicyLevel. Started removing mandatory/recommended policy_maps around. Currently there are still mandatory/recommended providers, but that'll go away after this. TBR=jhawkins@chromium.org BUG=108993 TEST=All works as before Review URL: https://chromiumcodereview.appspot.com/9111022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118648 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Relanding this as this did not fix the chromiumos breakage. Revert 150391 - Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. Will revert back if it does not address the redness. Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag. Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles. Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters. BUG=141123 TEST=none Review URL: https://chromiumcodereview.appspot.com/10693022 TBR=atwilson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823208 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150404 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce CloudPolicyClient This is part of a clean up of the policy code. CloudPolicyClient moves the core policy interactions into a single class with a well defined interface. Subsequent CLs will remove CloudPolicyController and DeviceTokenFetcher and introduce cleaner separation of policy fetching and caching. BUG=chromium:108928 TEST=Compiles and passes tests. Review URL: https://chromiumcodereview.appspot.com/9109009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138873 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
base::Callback-ify policy::DeviceManagementService. Convert DeviceManagementService to base::Callback-style response handlers. Support for DeviceManagementBackend will be dropped in a subsequent CL but is kept intact in the interest of keeping this CL focused. BUG=chromium:108928 TEST=Compiles and passes tests. Review URL: http://codereview.chromium.org/8952027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116111 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce a new error code from the DM server - 402 - missing licenses. Drive by cleanup: Consolidated the error reporting for the EnterpriseEnrollmentScreen. BUG=chromium-os:30457 TEST=unit_tests. For manual testing set up the DMServer to send 402 error to registration request and observe the special error message on the enrollment screen. Review URL: https://chromiumcodereview.appspot.com/10664017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144450 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce a new error code from the DM server - 402 - missing licenses. Drive by cleanup: Consolidated the error reporting for the EnterpriseEnrollmentScreen. BUG=chromium-os:30457 TEST=unit_tests. For manual testing set up the DMServer to send 402 error to registration request and observe the special error message on the enrollment screen. Review URL: https://chromiumcodereview.appspot.com/10664017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144450 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
If there is a device id use that instead of a new one for re-enrolling. The original device id is stored in the install attributes and we can read it from there and reuse it instead of generating a new one. BUG=chromium-os:26157 TEST=Enroll. Login. Stop UI.Delete /var/lib/whitelist/policy.Start UI. Re-enrollment should still succeed. Review URL: https://chromiumcodereview.appspot.com/10628008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143892 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the --enable-device-policy and --enable-onc-policy flags. These features are stable and are always enabled on Chrome OS. BUG=143164 Review URL: https://chromiumcodereview.appspot.com/10855244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153000 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. Also deleted some files left behind when the linux and mac providers were refactored. BUG=130918 TEST=nothing breaks Review URL: https://chromiumcodereview.appspot.com/10545033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141008 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Don't refresh policy immediately when fetched already. Avoid an immediate policy fetch in CloudPolicyRefreshScheduler for the case when the corresponding CloudPolicyClient has already downloaded policy before the refresh scheduler was instantiated. BUG=chromium:108928 TEST=unit tests Review URL: https://chromiumcodereview.appspot.com/10913118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155729 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move PrefMember and PrefChangeRegistrar to api directory. This is the first step in breaking Autofill's concrete dependency on prefs. These two classes are essentially utilities with very small dependencies back to PrefService (which I will break in the next change, by introducing a virtual PrefServiceBase) so they are suitable for api. TBRing other owners for mechanical changes. TBR=ben@chromium.org BUG=140037 Review URL: https://chromiumcodereview.appspot.com/10857031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152544 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added UserCloudPolicyManager::ShutdownAndRemovePolicy() BUG=143272 TEST=Sign out, see policy disappear. Review URL: https://chromiumcodereview.appspot.com/10854213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152383 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Relanding this as this did not fix the chromiumos breakage. Revert 150391 - Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. Will revert back if it does not address the redness. Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag. Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles. Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters. BUG=141123 TEST=none Review URL: https://chromiumcodereview.appspot.com/10693022 TBR=atwilson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823208 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150404 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move PrefMember and PrefChangeRegistrar to api directory. This is the first step in breaking Autofill's concrete dependency on prefs. These two classes are essentially utilities with very small dependencies back to PrefService (which I will break in the next change, by introducing a virtual PrefServiceBase) so they are suitable for api. TBRing other owners for mechanical changes. TBR=ben@chromium.org BUG=140037 Review URL: https://chromiumcodereview.appspot.com/10857031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152544 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that internal content headers don't leak to embedders. BUG=98716 TBR=phajdan.jr Review URL: https://chromiumcodereview.appspot.com/10500016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving google_apis and GaiaClient to src/google_apis. TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DeviceSettingsService. DeviceSettingsService consolidates Chrome OS device settings access, keeping an authoratitive copy of device settings in memory and providing a simpler API to read and write settings. The intention is to make both DeviceSettingsProvider and DevicePolicyCache go through the new interface to remove duplication. BUG=chromium:139126 TEST=Unit tests, new code is not used yet. Review URL: https://chromiumcodereview.appspot.com/10828032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154100 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DeviceSettingsService. DeviceSettingsService consolidates Chrome OS device settings access, keeping an authoratitive copy of device settings in memory and providing a simpler API to read and write settings. The intention is to make both DeviceSettingsProvider and DevicePolicyCache go through the new interface to remove duplication. BUG=chromium:139126 TEST=Unit tests, new code is not used yet. Review URL: https://chromiumcodereview.appspot.com/10828032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154100 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Don't run BrowserPolicyConnector::Init from TestingBrowserProcess by default. Tests that need internal stuff from the connector should run Init() from SetUp, or should be built as an InProcessBrowserTest instead. BUG=141255,66054 Review URL: https://chromiumcodereview.appspot.com/10827216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150764 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a schema to decode 3rd party policy on windows, when present. BUG=108994 TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10656046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Correct const accessors in base/values.(h|cc) For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Strip vpn.openvpn.TLSAuthContents in chrome://policy. BUG=chromium:138227 TEST=Verify that the value of the TLSAuthContents is not present in chrome://policy. Review URL: https://chromiumcodereview.appspot.com/10928103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155989 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix ONC password filtering in about:policy. BUG=chromium:138227 R=joaodasilva@chromium.org, pneubeck@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150784 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
browser: Handle the registration of ChromeLauncher prefs outside of views. BUG=125846 R=ben@chromium.org TBR=joaodasilva@chromium.org Review URL: https://chromiumcodereview.appspot.com/10445043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139577 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement two new policies to control muting the audio I/O. BUG=chromium-os:11263 TEST=Manually set the policies in CPanel and observe that no sound is produced/recored on the device. TBR=nirnimesh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10873085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154692 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Deprecate and re-wire the ClearSiteDataOnExit policy. This becomes necessary after Chrome has abandoned prefs::kClearSiteDataOnExit. BUG=chromium:130986 TEST=unit tests, configure ClearSiteDataOnExit policy and make sure that it limits the cookie content setting to session-only. Review URL: https://chromiumcodereview.appspot.com/10562036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement two new policies to control muting the audio I/O. BUG=chromium-os:11263 TEST=Manually set the policies in CPanel and observe that no sound is produced/recored on the device. TBR=nirnimesh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10873085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154692 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. Also deleted some files left behind when the linux and mac providers were refactored. BUG=130918 TEST=nothing breaks Review URL: https://chromiumcodereview.appspot.com/10545033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141008 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a schema to decode 3rd party policy on windows, when present. BUG=108994 TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10656046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup in policy code, removed some dead code. BUG=None TEST=None Review URL: http://codereview.chromium.org/10094010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132436 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that internal content headers don't leak to embedders. BUG=98716 TBR=phajdan.jr Review URL: https://chromiumcodereview.appspot.com/10500016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cosmetic cleanups in chrome/browser/policy/ BUG=None TEST=Everything works as before, compiles cleanly Review URL: http://codereview.chromium.org/7941008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102100 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Always log the exact error code from the dmserver. BUG=146459 Review URL: https://chromiumcodereview.appspot.com/10920088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154918 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactoring: ProtocolHandler::MaybeCreateJob and other functions take NetworkDelegate as argument This change goes a long way to prepare for removing NetworkDelegate from URLRequestContext. TBR=sky@chromium.org, michaeln@chromium.org, benjhayden@chromium.org, brettw@chromium.org, ben@chromium.org, davemoore@chromium.org, zelidrag@chromium.org, mnissler@chromium.org, thestig@chromium.org, asargent@chromium.org, jhawkins@chromium.org, bulach@chromium.org BUG=crbug.com/142945 Review URL: https://chromiumcodereview.appspot.com/10855209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153133 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove legacy DM Server http error codes. BUG=83199 TEST=still compiling. Review URL: https://chromiumcodereview.appspot.com/10748008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145983 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Switch from SignedSettings to DeviceSettingsService. DevicePolicyCache and DeviceSettingsProvider now go through DeviceSettingsService, which provides a unified and simpler API to Chrome OS device settings. BUG=chromium:139126 TEST=Unit tests, everything related to enterprise enrollment and device settings still works. TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154457 Review URL: https://chromiumcodereview.appspot.com/10832035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154625 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement new-style CloudPolicyStore for Chrome OS device policy. BUG=chromium:108928 TEST=Unit tests, new code is not active yet. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10885015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Set linux distro to CHROMEOS_RELEASE_DESCRIPTION on ChromeOS This makes ChromeOS more consistent with Linux, which uses the DISTRIB_DESCRIPTION from /etc/lsb-release here. We have a different pre-existing mechanism in the code for reading the value (since ChromeOS doesn't have the lsb_release tool), but it's conceptually the same thing. This makes it possible to search / catagorize ChromeOS crash reports based on the build, or other information about the ChromeOS version. It also allows the matching build/symbols to be more easily found given a crash report. There's no need for Aura customization of distro anymore - that was added when Aura was experimental. All ChromeOS is now Aura. BUG=142630 Review URL: https://chromiumcodereview.appspot.com/10827322 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151741 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move cancelable_request.cc/h to chrome/browser/common. It is a commonly shared utility. Also move "!chrome/browser/browser_process.h" to test section in bookmarks/DEPS BUG=144783 Review URL: https://codereview.chromium.org/10958031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158151 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move Chrome OS device settings stuff to chrome/browser/chromeos/settings. BUG=chromium:139126 TEST=Still compiles and passes tests, no functional changes. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149399 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce a new error code from the DM server - 402 - missing licenses. Drive by cleanup: Consolidated the error reporting for the EnterpriseEnrollmentScreen. BUG=chromium-os:30457 TEST=unit_tests. For manual testing set up the DMServer to send 402 error to registration request and observe the special error message on the enrollment screen. Review URL: https://chromiumcodereview.appspot.com/10664017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144450 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove TODOs from the code in accordance with the decision to not change the default enrollment type. BUG=chromium-os:26624 TEST=none R=mnissler@chromium.org Review URL: https://chromiumcodereview.appspot.com/10661027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143923 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving google_apis and GaiaClient to src/google_apis. TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow re-enrollment to the same domain in case of policy data loss. As a side effect allow to reenroll with any other account from the same domain as the initial enrollment user. BUG=chromium-os:26157 TEST=As described in the bug + unit_tests:enterprise. Review URL: https://chromiumcodereview.appspot.com/10443125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142937 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
UMA metrics for cloud policies. BUG=chromium-os:14002 TEST=Set cloud policies using testserver, corrupt some files, check about:histograms Review URL: http://codereview.chromium.org/7105018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91857 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move BrowserThread to content namespace. TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that internal content headers don't leak to embedders. BUG=98716 TBR=phajdan.jr Review URL: https://chromiumcodereview.appspot.com/10500016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fixed the following warnings: CID=104268,104216,104131,104058 Review URL: https://chromiumcodereview.appspot.com/10830022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148638 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ManagedModePolicyProvider and extension API to get and set policies. BUG=128318 TEST=none Review URL: https://chromiumcodereview.appspot.com/10510006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142720 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ManagedModePolicyProvider and extension API to get and set policies. BUG=128318 TEST=none Review URL: https://chromiumcodereview.appspot.com/10510006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142720 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add CloudPolicyService CloudPolicyService glues together a cloud policy client and a CloudPolicyStore, taking care of pushing policy to the store when new policy from the cloud arrived. It also handles coordination for policy refresh operations. BUG=chromium:108928 TEST=Unit tests. Review URL: https://chromiumcodereview.appspot.com/10092010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139014 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Tests for cloud policy UMA metrics. BUG=chromium-os:14002 TEST=unit_tests:EnterpriseMetricsTest,browser_tests:EnterpriseMetricsBrowserTest (chromeos only) Review URL: http://codereview.chromium.org/7345010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93383 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add CloudPolicyService CloudPolicyService glues together a cloud policy client and a CloudPolicyStore, taking care of pushing policy to the store when new policy from the cloud arrived. It also handles coordination for policy refresh operations. BUG=chromium:108928 TEST=Unit tests. Review URL: https://chromiumcodereview.appspot.com/10092010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139014 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added UserCloudPolicyManager::ShutdownAndRemovePolicy() BUG=143272 TEST=Sign out, see policy disappear. Review URL: https://chromiumcodereview.appspot.com/10854213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152383 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. Also deleted some files left behind when the linux and mac providers were refactored. BUG=130918 TEST=nothing breaks Review URL: https://chromiumcodereview.appspot.com/10545033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141008 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Enable user policy handling through the new cloud policy stack. Implement UserCloudPolicyManager, which wraps an instance of the new cloud policy stack and implements the ConfigurationPolicyProvider interface. Hook it up in BrowserPolicyConnector to be used for user policy instead of the old code if enabled through a command line switch. BUG=chromium:108929 TEST=With --enable-cloud-policy-service, user policy on Chrome OS still works as before. Review URL: https://chromiumcodereview.appspot.com/10449071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140519 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Only import certificates with Web trust from ONC if the user is managed and matches the enterprise domain of the device. BUG=chromium-os:33879 Review URL: https://chromiumcodereview.appspot.com/10868076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155390 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Only import certificates with Web trust from ONC if the user is managed and matches the enterprise domain of the device. BUG=chromium-os:33879 Review URL: https://chromiumcodereview.appspot.com/10868076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155390 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Only import certificates with Web trust from ONC if the user is managed and matches the enterprise domain of the device. BUG=chromium-os:33879 Review URL: https://chromiumcodereview.appspot.com/10868076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155390 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Simplify the translate infobar code some. The primary change here is to take LanguagesMenuModel, which was used by views, unused by GTK, and only "used" by Cocoa to get the appropriate language names for a menu (which can be done by calling functions on the TranslateInfobarDelegate directly), and make it truly views-specific. In turn this means we can get rid of the TranslateInfoBarView class, which was only ever used by views even though all platforms included it. Instead, the SetOriginalLanguage() and SetTargetLanguage() functions on the infobar delegate now become simple setters, and each platform calls Translate() as a followup directly where appropriate. (This split was necessary because views needed to maintain the current calling order, where the delegate updates the language index, then the infobar updates the button text, then Translate() is called.) Along the way we also make a number of delegate functions unix_hacker()-style inline getters/setters, and remove some unnecessary "virtual" declarations on functions never overridden. Finally there are a bunch of other small code simplifications. BUG=100840 TEST=none Review URL: https://codereview.chromium.org/10952016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157889 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DeviceSettingsService. DeviceSettingsService consolidates Chrome OS device settings access, keeping an authoratitive copy of device settings in memory and providing a simpler API to read and write settings. The intention is to make both DeviceSettingsProvider and DevicePolicyCache go through the new interface to remove duplication. BUG=chromium:139126 TEST=Unit tests, new code is not used yet. Review URL: https://chromiumcodereview.appspot.com/10828032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154100 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactored code for timezone settings. Moved ui specific stuff to webui/options2. Ensure that only known timezones are stored in TimezoneSettings. BUG=chromium-os:27206 TEST=Set symlink /var/lib/timezone/localtime to an unknown timezone (i.e. not in |kTimeZones|) but with the same rules as a known timezone. The settings UI must show one of these equivalent timezones. Change the timezone in the settings and observe both the clock and the symlink being updated. Review URL: https://chromiumcodereview.appspot.com/10689175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147242 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed ConfigurationPolicyProvider::Provide(). Refactored tests to use ConfigurationPolicyProvider::policies(), and all the providers to load PolicyBundles. BUG=108993 TEST=Nothing breaks, unit_tests green Review URL: https://chromiumcodereview.appspot.com/10384145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137409 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed ConfigurationPolicyProvider::Provide(). Refactored tests to use ConfigurationPolicyProvider::policies(), and all the providers to load PolicyBundles. BUG=108993 TEST=Nothing breaks, unit_tests green Review URL: https://chromiumcodereview.appspot.com/10384145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137409 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Wire up the policy for controlling pinned apps in the ash launcher. This declares the policy so the policy subsystem can enforce it and shows it in about:policy. BUG=chromium-os:29917 TEST=Configure pinned apps, log in as a managed user, observe that the launcher shows the pinned apps as configured. Review URL: https://chromiumcodereview.appspot.com/10316022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135677 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the mac policy provider based on the AsyncPolicyLoader. BUG=130918 TEST=policies still work on mac, unit_tests green Review URL: https://chromiumcodereview.appspot.com/10496013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140530 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Use a schema to decode 3rd party policy on windows, when present. BUG=108994 TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10656046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144703 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Share JSON schema constants. BUG=None TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10696034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157051 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Share JSON schema constants. BUG=None TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10696034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157051 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Share JSON schema constants. BUG=None TEST=unit_tests green Review URL: https://chromiumcodereview.appspot.com/10696034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157051 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix leak in PolicyMap.FilterLevel. TBR=mnissler@chromium.org BUG=None TEST=chromeos memory bots go green Review URL: http://codereview.chromium.org/9950047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130085 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed ConfigurationPolicyType and extended PolicyMap. PolicyMap was strongly coupled to specific Chrome policies, through the ConfigurationPolicyType. That enum has been removed and replaced by strings. Also introduced new PolicyMap-related enums: PolicyScope and PolicyLevel. Started removing mandatory/recommended policy_maps around. Currently there are still mandatory/recommended providers, but that'll go away after this. TBR=jhawkins@chromium.org BUG=108993 TEST=All works as before Review URL: https://chromiumcodereview.appspot.com/9111022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118648 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Introduce a new error code from the DM server - 402 - missing licenses. Drive by cleanup: Consolidated the error reporting for the EnterpriseEnrollmentScreen. BUG=chromium-os:30457 TEST=unit_tests. For manual testing set up the DMServer to send 402 error to registration request and observe the special error message on the enrollment screen. Review URL: https://chromiumcodereview.appspot.com/10664017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144450 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fixing gcc 4.7 building problems. a) - gcc-4.7 improved the implicit headers that it includes. with <4.7, the gthr-default.h file always pulls in unistd.h. with >=4.7, they avoided that include when possible. so code that isn't including unistd.h itself but needs it now breaks. b) - narrowing conversion in initiliazation list now raises an 'ill-formed conversion' warning, which causes error when -Werror is given. [THIS PART IS NOW REVERTED IN THE PATCH} c) - included patches from pastebin - http://pastebin.com/raw.php?i=p3UKs7Cg Note - this may not be fixing all the gcc 4.7 build problems for all parts, but rather than submitting one big-fix-for-all CL, we'd better do it incrementally (given that all the modification is reasonable and minor) so that at least some parts get a successful gcc 4.7 build. BUG=None TEST=Built successfully using GCC-4.7 under chromium chroot Review URL: https://chromiumcodereview.appspot.com/10451068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140470 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Sanitize enclosing quotes around paths in policies. BUG=80211 TEST=unit_tests PolicyPathParser* Review URL: http://codereview.chromium.org/6966032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86807 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Sanitize enclosing quotes around paths in policies. BUG=80211 TEST=unit_tests PolicyPathParser* Review URL: http://codereview.chromium.org/6966032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86807 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Cosmetic cleanups in chrome/browser/policy/ BUG=None TEST=Everything works as before, compiles cleanly Review URL: http://codereview.chromium.org/7941008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102100 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Converted policy_prefs_ui.py pyauto test to a browser_test. This is a reland of http://codereview.chromium.org/10905223/ after parameterizing the tests so they don't timeout on chromeos debug bots. BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10918263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157346 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified PolicyService to register observers by domain only, instead of domain and component. BUG=108999 TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10805057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148082 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. Also deleted some files left behind when the linux and mac providers were refactored. BUG=130918 TEST=nothing breaks Review URL: https://chromiumcodereview.appspot.com/10545033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141008 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Enable user policy handling through the new cloud policy stack. Implement UserCloudPolicyManager, which wraps an instance of the new cloud policy stack and implements the ConfigurationPolicyProvider interface. Hook it up in BrowserPolicyConnector to be used for user policy instead of the old code if enabled through a command line switch. BUG=chromium:108929 TEST=With --enable-cloud-policy-service, user policy on Chrome OS still works as before. Review URL: https://chromiumcodereview.appspot.com/10449071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140519 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Record policy usage statistics every 24 hours. BUG=100869 Review URL: https://chromiumcodereview.appspot.com/10916235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157786 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Consolidate data storage and notifications in the cloud policy subsystem Get rid of identity strategies and create a central in-memory data store and notification hub, which is more simple. It's called CloudPolicyDataStore. BUG=chromium-os:17309 TEST=user and device policies work exactly as before Review URL: http://codereview.chromium.org/7298012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91957 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move test_url_fetcher_factory.* from content/ to net/url_request Also mark URLFetcherImpl as NET_EXPORT_PRIVATE instead of NET_EXPORT, as it shouldn't be used except for some code in test_url_fetcher_factory.*. Update all references. BUG=118220 TEST= TBR=jam@chromium.org,jhawkins@chromium.org,mnissler@chromium.org Review URL: https://chromiumcodereview.appspot.com/10581012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143085 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Coverity: Initialize member variables. CID_COUNT=12 CID=104349,104361,104373,104374,104399,104420,104421,104422,104466,104476, 104532,104538 BUG=none TEST=none R=groby TBR=brettw,satorux,mnissler Review URL: https://chromiumcodereview.appspot.com/10833006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148430 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move PrefMember and PrefChangeRegistrar to api directory. This is the first step in breaking Autofill's concrete dependency on prefs. These two classes are essentially utilities with very small dependencies back to PrefService (which I will break in the next change, by introducing a virtual PrefServiceBase) so they are suitable for api. TBRing other owners for mechanical changes. TBR=ben@chromium.org BUG=140037 Review URL: https://chromiumcodereview.appspot.com/10857031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152544 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor URLBlacklistManager to use URLMatcher. BUG=134417 TEST=a bunch of unit tests Review URL: https://chromiumcodereview.appspot.com/10692158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147005 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "policy/policy_constants.h" when it is included from chrome/browser. Review URL: https://chromiumcodereview.appspot.com/10917266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157016 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added code to persist downloaded cloud policy to disk. Updated UserCloudPolicyStore to actually persist and restore policy from a disk file, and added new tests to exercise this functionality. BUG=141123 Review URL: https://chromiumcodereview.appspot.com/10825415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153114 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added code to persist downloaded cloud policy to disk. Updated UserCloudPolicyStore to actually persist and restore policy from a disk file, and added new tests to exercise this functionality. BUG=141123 Review URL: https://chromiumcodereview.appspot.com/10825415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153114 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DeviceSettingsService. DeviceSettingsService consolidates Chrome OS device settings access, keeping an authoratitive copy of device settings in memory and providing a simpler API to read and write settings. The intention is to make both DeviceSettingsProvider and DevicePolicyCache go through the new interface to remove duplication. BUG=chromium:139126 TEST=Unit tests, new code is not used yet. Review URL: https://chromiumcodereview.appspot.com/10828032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154100 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Relanding this as this did not fix the chromiumos breakage. Revert 150391 - Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. Will revert back if it does not address the redness. Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag. Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles. Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters. BUG=141123 TEST=none Review URL: https://chromiumcodereview.appspot.com/10693022 TBR=atwilson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823208 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150404 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving google_apis and GaiaClient to src/google_apis. TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added UserCloudPolicyManager::ShutdownAndRemovePolicy() BUG=143272 TEST=Sign out, see policy disappear. Review URL: https://chromiumcodereview.appspot.com/10854213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152383 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[cros] UserManager cleanup regarding stub/demo users. *) Add DCHECK for a second user login attempt. *) Slightly refactor demo and guest users. BUG=None TEST=trybots Review URL: https://chromiumcodereview.appspot.com/10805007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147434 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added code to persist downloaded cloud policy to disk. Updated UserCloudPolicyStore to actually persist and restore policy from a disk file, and added new tests to exercise this functionality. BUG=141123 Review URL: https://chromiumcodereview.appspot.com/10825415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153114 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix infinite refresh of device policy when the TPM gets out of sync with the stateful partition. BUG=chromium-os:27251 TEST=Enroll a device. Flip the dev switch back and forth. The device should stop issuing device policy fetches every second. Review URL: http://codereview.chromium.org/9599009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124966 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that internal content headers don't leak to embedders. BUG=98716 TBR=phajdan.jr Review URL: https://chromiumcodereview.appspot.com/10500016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactored the CloudPolicyProvider so that it becomes initialized once and stays initialized. Also added device policy command line flags to InProcessBrowserTest, so that browser_tests run with this provider on ChromeOS. BUG=120967 TEST=Everything works as before Review URL: http://codereview.chromium.org/9911029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130067 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Break out base functionality of UserCloudPolicyManager. This change introduces a new base class, CloudPolicyManager, that contains the initialization/shutdown and policy serving logic which will be common to user-level and Chrome OS device-level policy. BUG=chromium:108928 TEST=unit tests TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155763 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving google_apis and GaiaClient to src/google_apis. TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFactory::ForceRegisterPrefsForTest() Review URL: https://chromiumcodereview.appspot.com/10908088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155073 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFactory::ForceRegisterPrefsForTest() Review URL: https://chromiumcodereview.appspot.com/10908088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155073 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving google_apis and GaiaClient to src/google_apis. TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move BrowserThread to content namespace. TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from chrome/browser/policy Review URL: https://chromiumcodereview.appspot.com/10698145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146111 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |