diff options
author | aberent <aberent@chromium.org> | 2015-07-24 05:53:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-24 12:54:29 +0000 |
commit | 1adc137bc1bc1d8cadf5f691dc3a4da2848eb7ed (patch) | |
tree | 06c4916ead1628c015ed38ada751c98163ce47fe /components/policy/policy_browser.gypi | |
parent | cc15bf26827fcef7e7f583e11fcb4dd749c6732e (diff) | |
download | chromium_src-1adc137bc1bc1d8cadf5f691dc3a4da2848eb7ed.zip chromium_src-1adc137bc1bc1d8cadf5f691dc3a4da2848eb7ed.tar.gz chromium_src-1adc137bc1bc1d8cadf5f691dc3a4da2848eb7ed.tar.bz2 |
Read Android policies early in startup
The IO thread constructor reads preferences that are set from policies, so Chrome
should read the policies before the IO thread constructor is called.
Two parts to this:
1 - create a persistant policy cache and read it cache synchronously
2 - reorder various things so that the Android PolicyManager and PolicyProviders
are created earlier in startup.
Also merge (C++) PolicyProviderAndroid into PolicyManager and add Junit tests
for the Java PolicyManager.
TBR=nyquist
BUG=510813
Review URL: https://codereview.chromium.org/1239323002
Cr-Commit-Position: refs/heads/master@{#340265}
Diffstat (limited to 'components/policy/policy_browser.gypi')
-rw-r--r-- | components/policy/policy_browser.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/policy/policy_browser.gypi b/components/policy/policy_browser.gypi index 17511d0..8f6ddb3 100644 --- a/components/policy/policy_browser.gypi +++ b/components/policy/policy_browser.gypi @@ -66,6 +66,8 @@ 'conditions': [ ['OS=="android"', { 'sources': [ + 'core/browser/android/android_combined_policy_provider.cc', + 'core/browser/android/android_combined_policy_provider.h', 'core/browser/android/component_jni_registrar.cc', 'core/browser/android/component_jni_registrar.h', 'core/browser/android/policy_converter.cc', |