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

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

Issue 10805057: Modified PolicyService to register observers by domain only, instead of domain and component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/ui/webui/policy_ui.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 ba03bb3f2e376a9868fdd88dbd41e342aaf024f6..b8e88efe45b9076a5b1c4d5c7a9fb9b019227f03 100644
--- a/chrome/browser/policy/policy_service_stub.cc
+++ b/chrome/browser/policy/policy_service_stub.cc
@@ -12,12 +12,9 @@ PolicyServiceStub::PolicyServiceStub() {}
PolicyServiceStub::~PolicyServiceStub() {}
-void PolicyServiceStub::AddObserver(PolicyDomain domain,
- const std::string& component_id,
- Observer* observer) {}
+void PolicyServiceStub::AddObserver(PolicyDomain domain, Observer* observer) {}
Mattias Nissler (ping if slow) 2012/07/23 16:47:31 nit: I'd format this consistent with RemoveObserve
Joao da Silva 2012/07/24 09:39:59 Done.
void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
- const std::string& component_id,
Observer* observer) {}
const PolicyMap& PolicyServiceStub::GetPolicies(
« no previous file with comments | « chrome/browser/policy/policy_service_stub.h ('k') | chrome/browser/ui/webui/policy_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698