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

Unified Diff: chrome/browser/policy/testing_cloud_policy_subsystem.h

Issue 11946017: Remove old cloud policy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits. Created 7 years, 11 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/testing_cloud_policy_subsystem.h
diff --git a/chrome/browser/policy/testing_cloud_policy_subsystem.h b/chrome/browser/policy/testing_cloud_policy_subsystem.h
deleted file mode 100644
index 34dbc40ee3c41852e234e5c17cdd37e8385bd0fd..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/testing_cloud_policy_subsystem.h
+++ /dev/null
@@ -1,37 +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_TESTING_CLOUD_POLICY_SUBSYSTEM_H_
-#define CHROME_BROWSER_POLICY_TESTING_CLOUD_POLICY_SUBSYSTEM_H_
-
-#include "chrome/browser/policy/cloud_policy_subsystem.h"
-
-namespace policy {
-
-class CloudPolicyCacheBase;
-class CloudPolicyDataStore;
-class EventLogger;
-
-// A CloudPolicySubsystem for testing: it uses EventLogger to issue delayed
-// tasks with 0 effective delay, and log the times of their executions.
-class TestingCloudPolicySubsystem : public CloudPolicySubsystem {
- public:
- // Takes ownership of |policy_cache|.
- TestingCloudPolicySubsystem(CloudPolicyDataStore* data,
- CloudPolicyCacheBase* policy_cache,
- const std::string& device_management_url,
- EventLogger* logger);
-
- private:
- virtual void CreateDeviceTokenFetcher() OVERRIDE;
- virtual void CreateCloudPolicyController() OVERRIDE;
-
- EventLogger* logger_;
-
- DISALLOW_COPY_AND_ASSIGN(TestingCloudPolicySubsystem);
-};
-
-} // namespace Policy
-
-#endif // CHROME_BROWSER_POLICY_TESTING_CLOUD_POLICY_SUBSYSTEM_H_
« no previous file with comments | « chrome/browser/policy/proto/old_generic_format.proto ('k') | chrome/browser/policy/testing_cloud_policy_subsystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698