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

Side by Side Diff: components/sync/driver/sync_policy_handler.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « components/sync/driver/sync_frontend.cc ('k') | components/sync/driver/sync_policy_handler.cc » ('j') | 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 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/policy/core/browser/configuration_policy_handler.h" 10 #include "components/policy/core/browser/configuration_policy_handler.h"
11 11
12 class PrefValueMap; 12 class PrefValueMap;
13 13
14 namespace syncer { 14 namespace sync_driver {
15 15
16 class PolicyMap; 16 class PolicyMap;
17 17
18 // ConfigurationPolicyHandler for the SyncDisabled policy. 18 // ConfigurationPolicyHandler for the SyncDisabled policy.
19 class SyncPolicyHandler : public policy::TypeCheckingPolicyHandler { 19 class SyncPolicyHandler : public policy::TypeCheckingPolicyHandler {
20 public: 20 public:
21 SyncPolicyHandler(); 21 SyncPolicyHandler();
22 ~SyncPolicyHandler() override; 22 ~SyncPolicyHandler() override;
23 23
24 // ConfigurationPolicyHandler methods: 24 // ConfigurationPolicyHandler methods:
25 void ApplyPolicySettings(const policy::PolicyMap& policies, 25 void ApplyPolicySettings(const policy::PolicyMap& policies,
26 PrefValueMap* prefs) override; 26 PrefValueMap* prefs) override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(SyncPolicyHandler); 29 DISALLOW_COPY_AND_ASSIGN(SyncPolicyHandler);
30 }; 30 };
31 31
32 } // namespace syncer 32 } // namespace sync_driver
33 33
34 #endif // COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_ 34 #endif // COMPONENTS_SYNC_DRIVER_SYNC_POLICY_HANDLER_H_
OLDNEW
« no previous file with comments | « components/sync/driver/sync_frontend.cc ('k') | components/sync/driver/sync_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698