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

Unified Diff: chrome/browser/policy/user_cloud_policy_store_base.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/user_cloud_policy_store_base.h
diff --git a/chrome/browser/policy/user_cloud_policy_store_base.h b/chrome/browser/policy/user_cloud_policy_store_base.h
deleted file mode 100644
index 3057210987f7a5e4f1a42786ef49a50fa4952d96..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/user_cloud_policy_store_base.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_BASE_H_
-#define CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_BASE_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/policy/cloud_policy_store.h"
-
-namespace policy {
-
-// Base class that implements common cross-platform UserCloudPolicyStore
-// functionality.
-class UserCloudPolicyStoreBase : public CloudPolicyStore {
- public:
- UserCloudPolicyStoreBase();
- virtual ~UserCloudPolicyStoreBase();
-
- protected:
- // Creates a validator configured to validate a user policy. The caller owns
- // the resulting object until StartValidation() is invoked.
- scoped_ptr<UserCloudPolicyValidator> CreateValidator(
- scoped_ptr<enterprise_management::PolicyFetchResponse> policy);
-
- // Sets |policy_data| and |payload| as the active policy.
- void InstallPolicy(
- scoped_ptr<enterprise_management::PolicyData> policy_data,
- scoped_ptr<enterprise_management::CloudPolicySettings> payload);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreBase);
-};
-
-} // namespace policy
-
-#endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_BASE_H_
« no previous file with comments | « chrome/browser/policy/user_cloud_policy_store.cc ('k') | chrome/browser/policy/user_cloud_policy_store_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698