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

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

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 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/configuration_policy_provider_test.h
diff --git a/chrome/browser/policy/configuration_policy_provider_test.h b/chrome/browser/policy/configuration_policy_provider_test.h
index c6a460a7cf844c2a6eb2cb5d4345a0d365eed448..1c50e97625538814c34891c0cd6289d766da1a5a 100644
--- a/chrome/browser/policy/configuration_policy_provider_test.h
+++ b/chrome/browser/policy/configuration_policy_provider_test.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -14,7 +14,6 @@
#include "base/message_loop.h"
#include "chrome/browser/policy/asynchronous_policy_test_base.h"
#include "content/test/test_browser_thread.h"
-#include "policy/configuration_policy_type.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
@@ -36,12 +35,6 @@ extern const char kKeyBoolean[];
extern const char kKeyInteger[];
extern const char kKeyStringList[];
-// Corresponding type constants.
-extern const ConfigurationPolicyType kPolicyString;
-extern const ConfigurationPolicyType kPolicyBoolean;
-extern const ConfigurationPolicyType kPolicyInteger;
-extern const ConfigurationPolicyType kPolicyStringList;
-
// Policy definition list that contains entries for the keys above.
extern const PolicyDefinitionList kList;
@@ -96,7 +89,6 @@ class ConfigurationPolicyProviderTest
// Installs a valid policy and checks whether the provider returns the
// |expected_value|.
void CheckValue(const char* policy_name,
- ConfigurationPolicyType policy_type,
const base::Value& expected_value,
base::Closure install_value);

Powered by Google App Engine
This is Rietveld 408576698