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

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

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 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 | 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_USER_CLOUD_POLICY_STORE_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_
6 #define CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/browser/policy/user_cloud_policy_store_base.h" 14 #include "chrome/browser/policy/cloud/user_cloud_policy_store_base.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 namespace policy { 18 namespace policy {
19 19
20 // Implements a cloud policy store that is stored in a simple file in the user's 20 // Implements a cloud policy store that is stored in a simple file in the user's
21 // profile directory. This is used on (non-chromeos) platforms that do not have 21 // profile directory. This is used on (non-chromeos) platforms that do not have
22 // a secure storage implementation. 22 // a secure storage implementation.
23 class UserCloudPolicyStore : public UserCloudPolicyStoreBase { 23 class UserCloudPolicyStore : public UserCloudPolicyStoreBase {
24 public: 24 public:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Profile* profile_; 72 Profile* profile_;
73 73
74 // Path to file where we store persisted policy. 74 // Path to file where we store persisted policy.
75 base::FilePath backing_file_path_; 75 base::FilePath backing_file_path_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore); 77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore);
78 }; 78 };
79 79
80 } // namespace policy 80 } // namespace policy
81 81
82 #endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_H_ 82 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698