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

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

Issue 8499021: UserPolicyCache only becomes ready after policy has been fetched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 9 years, 1 month 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/cloud_policy_provider_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_provider_unittest.cc b/chrome/browser/policy/cloud_policy_provider_unittest.cc
index 3be811e5f5aa6e0f2bbe576620219236a4d7b790..1af50371ae893c5430b038b9a6e8f9a7761bef5d 100644
--- a/chrome/browser/policy/cloud_policy_provider_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_provider_unittest.cc
@@ -47,6 +47,10 @@ class MockCloudPolicyCache : public CloudPolicyCacheBase {
is_unmanaged_ = true;
}
+ void SetFetchingDone() {
+ // Implement pure virtual method.
+ }
+
void set_initialized(bool initialized) {
initialization_complete_ = initialized;
}

Powered by Google App Engine
This is Rietveld 408576698