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

Side by Side Diff: components/policy/core/common/mock_configuration_policy_provider.cc

Issue 101163003: Move ConfigurationPolicyProvider to components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename target 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
« no previous file with comments | « components/policy/core/common/mock_configuration_policy_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/mock_configuration_policy_provider.h" 5 #include "components/policy/core/common/mock_configuration_policy_provider.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "components/policy/core/common/policy_bundle.h" 12 #include "components/policy/core/common/policy_bundle.h"
13 13
14 using testing::Invoke; 14 using testing::Invoke;
15 15
(...skipping 22 matching lines...) Expand all
38 scoped_ptr<PolicyBundle> bundle(new PolicyBundle); 38 scoped_ptr<PolicyBundle> bundle(new PolicyBundle);
39 bundle->CopyFrom(policies()); 39 bundle->CopyFrom(policies());
40 UpdatePolicy(bundle.Pass()); 40 UpdatePolicy(bundle.Pass());
41 } 41 }
42 42
43 MockConfigurationPolicyObserver::MockConfigurationPolicyObserver() {} 43 MockConfigurationPolicyObserver::MockConfigurationPolicyObserver() {}
44 44
45 MockConfigurationPolicyObserver::~MockConfigurationPolicyObserver() {} 45 MockConfigurationPolicyObserver::~MockConfigurationPolicyObserver() {}
46 46
47 } // namespace policy 47 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/common/mock_configuration_policy_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698