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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store_unittest.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_pref_store_unittest.h
diff --git a/chrome/browser/policy/configuration_policy_pref_store_unittest.h b/chrome/browser/policy/configuration_policy_pref_store_unittest.h
deleted file mode 100644
index 9d2ac721b49465b3bc39c257923fbfb4f6513b05..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/configuration_policy_pref_store_unittest.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 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_CONFIGURATION_POLICY_PREF_STORE_UNITTEST_H_
-#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_UNITTEST_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop.h"
-#include "chrome/browser/policy/configuration_policy_handler_list.h"
-#include "chrome/browser/policy/policy_service_impl.h"
-#include "components/policy/core/common/mock_configuration_policy_provider.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace policy {
-
-class PolicyMap;
-class PolicyService;
-class ConfigurationPolicyPrefStore;
-
-class ConfigurationPolicyPrefStoreTest : public testing::Test {
- protected:
- ConfigurationPolicyPrefStoreTest();
- virtual ~ConfigurationPolicyPrefStoreTest();
- virtual void TearDown() OVERRIDE;
- void UpdateProviderPolicy(const PolicyMap& policy);
-
- PolicyServiceImpl::Providers providers_;
- ConfigurationPolicyHandlerList handler_list_;
- MockConfigurationPolicyProvider provider_;
- scoped_ptr<PolicyService> policy_service_;
- scoped_refptr<ConfigurationPolicyPrefStore> store_;
- base::MessageLoop loop_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStoreTest);
-};
-
-} // namespace policy
-
-#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_UNITTEST_H_

Powered by Google App Engine
This is Rietveld 408576698