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

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

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.cc
diff --git a/chrome/browser/policy/testing_cloud_policy_subsystem.cc b/chrome/browser/policy/testing_cloud_policy_subsystem.cc
deleted file mode 100644
index 4bbd6c806e164917acbbebb3f8110aef3e6e6095..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/testing_cloud_policy_subsystem.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "chrome/browser/policy/testing_cloud_policy_subsystem.h"
-
-#include "chrome/browser/policy/cloud_policy_controller.h"
-#include "chrome/browser/policy/device_token_fetcher.h"
-#include "chrome/browser/policy/logging_work_scheduler.h"
-
-namespace policy {
-
-TestingCloudPolicySubsystem::TestingCloudPolicySubsystem(
- CloudPolicyDataStore* data_store,
- CloudPolicyCacheBase* policy_cache,
- const std::string& device_management_url,
- EventLogger* logger)
- : CloudPolicySubsystem(),
- logger_(logger) {
- Initialize(data_store, policy_cache, device_management_url);
-}
-
-void TestingCloudPolicySubsystem::CreateDeviceTokenFetcher() {
- device_token_fetcher_.reset(
- new DeviceTokenFetcher(device_management_service_.get(),
- cloud_policy_cache_.get(),
- data_store_,
- notifier_.get(),
- new LoggingWorkScheduler(logger_)));
-}
-
-void TestingCloudPolicySubsystem::CreateCloudPolicyController() {
- cloud_policy_controller_.reset(
- new CloudPolicyController(device_management_service_.get(),
- cloud_policy_cache_.get(),
- device_token_fetcher_.get(),
- data_store_,
- notifier_.get(),
- new LoggingWorkScheduler(logger_)));
-}
-
-} // namespace policy
« no previous file with comments | « chrome/browser/policy/testing_cloud_policy_subsystem.h ('k') | chrome/browser/policy/testing_policy_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698