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

Unified Diff: chrome/browser/policy/device_policy_cache.cc

Issue 7147015: Move user cloud policy to BrowserProcess (was 6979011) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Mattias' comments Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/device_policy_cache.cc
diff --git a/chrome/browser/policy/device_policy_cache.cc b/chrome/browser/policy/device_policy_cache.cc
index bb9f5339146baade3d10c68e1751dbd27db7f0dd..56811c337a6f677ba2b0a7ab383cf7dc0df70ee7 100644
--- a/chrome/browser/policy/device_policy_cache.cc
+++ b/chrome/browser/policy/device_policy_cache.cc
@@ -181,6 +181,10 @@ void DevicePolicyCache::SetUnmanaged() {
// This is not supported for DevicePolicyCache.
}
+bool DevicePolicyCache::IsReady() {
Mattias Nissler (ping if slow) 2011/06/24 17:27:17 Hm, now we have IsReady() and initialization_compl
gfeher 2011/06/27 16:50:24 They actually do mean two different things: initia
+ return initialization_complete() || !starting_up_;
+}
+
void DevicePolicyCache::OnRetrievePolicyCompleted(
chromeos::SignedSettings::ReturnCode code,
const em::PolicyFetchResponse& policy) {

Powered by Google App Engine
This is Rietveld 408576698