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

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

Issue 10236003: Added RefreshPolicies to PolicyService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 8 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
« no previous file with comments | « chrome/browser/policy/policy_service_stub.h ('k') | chrome/browser/policy/policy_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_service_stub.cc
diff --git a/chrome/browser/policy/policy_service_stub.cc b/chrome/browser/policy/policy_service_stub.cc
index 0bbfc631982e0895478924dd9ca6892abae846d6..52a3b8aa0feeba02fe988f82e3d666e4d9251582 100644
--- a/chrome/browser/policy/policy_service_stub.cc
+++ b/chrome/browser/policy/policy_service_stub.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/policy/policy_service_stub.h"
+#include "base/message_loop.h"
+
namespace policy {
PolicyServiceStub::PolicyServiceStub() {}
@@ -28,4 +30,9 @@ bool PolicyServiceStub::IsInitializationComplete() const {
return true;
}
+void RefreshPolicies(const base::Closure& callback) {
+ if (!callback.is_null())
+ callback.Run();
+}
+
} // namespace policy
« no previous file with comments | « chrome/browser/policy/policy_service_stub.h ('k') | chrome/browser/policy/policy_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698