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

Side by Side Diff: components/policy/core/common/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/policy_service_stub.h" 5 #include "components/policy/core/common/policy_service_stub.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 8
9 namespace policy { 9 namespace policy {
10 10
11 PolicyServiceStub::PolicyServiceStub() {} 11 PolicyServiceStub::PolicyServiceStub() {}
12 12
13 PolicyServiceStub::~PolicyServiceStub() {} 13 PolicyServiceStub::~PolicyServiceStub() {}
14 14
15 void PolicyServiceStub::AddObserver(PolicyDomain domain, 15 void PolicyServiceStub::AddObserver(PolicyDomain domain,
(...skipping 10 matching lines...) Expand all
26 bool PolicyServiceStub::IsInitializationComplete(PolicyDomain domain) const { 26 bool PolicyServiceStub::IsInitializationComplete(PolicyDomain domain) const {
27 return true; 27 return true;
28 } 28 }
29 29
30 void PolicyServiceStub::RefreshPolicies(const base::Closure& callback) { 30 void PolicyServiceStub::RefreshPolicies(const base::Closure& callback) {
31 if (!callback.is_null()) 31 if (!callback.is_null())
32 callback.Run(); 32 callback.Run();
33 } 33 }
34 34
35 } // namespace policy 35 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_service_stub.h ('k') | components/policy/core/common/policy_statistics_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698