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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_mac_unittest.cc

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 6
7 #include "base/mac/scoped_cftyperef.h" 7 #include "base/mac/scoped_cftyperef.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/policy/configuration_policy_pref_store.h" 10 #include "chrome/browser/policy/configuration_policy_pref_store.h"
11 #include "chrome/browser/policy/configuration_policy_provider_mac.h" 11 #include "chrome/browser/policy/configuration_policy_provider_mac.h"
12 #include "chrome/browser/policy/policy_map.h"
12 #include "chrome/browser/preferences_mock_mac.h" 13 #include "chrome/browser/preferences_mock_mac.h"
13 #include "policy/policy_constants.h" 14 #include "policy/policy_constants.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace policy { 17 namespace policy {
17 18
18 // Holds parameters for the parametrized policy tests. 19 // Holds parameters for the parametrized policy tests.
19 class PolicyTestParams { 20 class PolicyTestParams {
20 public: 21 public:
21 // Takes ownership of |test_value|. 22 // Takes ownership of |test_value|.
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 ConfigurationPolicyProviderMacTest, 359 ConfigurationPolicyProviderMacTest,
359 testing::Values( 360 testing::Values(
360 PolicyTestParams::ForListPolicy( 361 PolicyTestParams::ForListPolicy(
361 kPolicyURLBlacklist, 362 kPolicyURLBlacklist,
362 key::kURLBlacklist), 363 key::kURLBlacklist),
363 PolicyTestParams::ForListPolicy( 364 PolicyTestParams::ForListPolicy(
364 kPolicyURLWhitelist, 365 kPolicyURLWhitelist,
365 key::kURLWhitelist))); 366 key::kURLWhitelist)));
366 367
367 } // namespace policy 368 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac.cc ('k') | chrome/browser/policy/configuration_policy_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698