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

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

Issue 8395007: Add policy for blocking GCP printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build break and respond to additional feedback Created 9 years, 1 month 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"
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 key::kURLBlacklist))); 355 key::kURLBlacklist)));
356 356
357 // testing::Values has a limit of 50 test templates, which is reached by the 357 // testing::Values has a limit of 50 test templates, which is reached by the
358 // instantiations above. Add tests for new policies here: 358 // instantiations above. Add tests for new policies here:
359 INSTANTIATE_TEST_CASE_P( 359 INSTANTIATE_TEST_CASE_P(
360 ConfigurationPolicyProviderMacTestInstance2, 360 ConfigurationPolicyProviderMacTestInstance2,
361 ConfigurationPolicyProviderMacTest, 361 ConfigurationPolicyProviderMacTest,
362 testing::Values( 362 testing::Values(
363 PolicyTestParams::ForListPolicy( 363 PolicyTestParams::ForListPolicy(
364 kPolicyURLWhitelist, 364 kPolicyURLWhitelist,
365 key::kURLWhitelist))); 365 key::kURLWhitelist),
366 366 PolicyTestParams::ForBooleanPolicy(
367 kPolicyCloudPrintSubmitEnabled,
368 key::kCloudPrintSubmitEnabled)));
367 } // namespace policy 369 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698