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

Side by Side Diff: chrome/browser/policy/cloud/user_cloud_policy_store_base.h

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 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/browser/policy/cloud/cloud_policy_store.h" 14 #include "components/policy/core/common/cloud/cloud_policy_store.h"
15 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" 15 #include "components/policy/core/common/cloud/cloud_policy_validator.h"
16 16
17 namespace base { 17 namespace base {
18 class SequencedTaskRunner; 18 class SequencedTaskRunner;
19 } 19 }
20 20
21 namespace policy { 21 namespace policy {
22 22
23 // Base class that implements common cross-platform UserCloudPolicyStore 23 // Base class that implements common cross-platform UserCloudPolicyStore
24 // functionality. 24 // functionality.
25 class UserCloudPolicyStoreBase : public CloudPolicyStore { 25 class UserCloudPolicyStoreBase : public CloudPolicyStore {
(...skipping 21 matching lines...) Expand all
47 private: 47 private:
48 // Task runner for background file operations. 48 // Task runner for background file operations.
49 scoped_refptr<base::SequencedTaskRunner> background_task_runner_; 49 scoped_refptr<base::SequencedTaskRunner> background_task_runner_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreBase); 51 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreBase);
52 }; 52 };
53 53
54 } // namespace policy 54 } // namespace policy
55 55
56 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_ 56 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698