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

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

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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_statistics_collector.h » ('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
deleted file mode 100644
index c25b50fe39ed30ebe305c77b56823505895e5b67..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/policy_service_stub.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/policy/policy_service_stub.h"
-
-#include "base/message_loop/message_loop.h"
-
-namespace policy {
-
-PolicyServiceStub::PolicyServiceStub() {}
-
-PolicyServiceStub::~PolicyServiceStub() {}
-
-void PolicyServiceStub::AddObserver(PolicyDomain domain,
- Observer* observer) {}
-
-void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
- Observer* observer) {}
-
-const PolicyMap& PolicyServiceStub::GetPolicies(
- const PolicyNamespace& ns) const {
- return kEmpty_;
-};
-
-bool PolicyServiceStub::IsInitializationComplete(PolicyDomain domain) const {
- return true;
-}
-
-void PolicyServiceStub::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_statistics_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698