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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_win_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 #include <windows.h> 6 #include <windows.h>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 key::kURLBlacklist))); 514 key::kURLBlacklist)));
515 515
516 // testing::Values has a limit of 50 test templates, which is reached by the 516 // testing::Values has a limit of 50 test templates, which is reached by the
517 // instantiations above. Add tests for new policies here: 517 // instantiations above. Add tests for new policies here:
518 INSTANTIATE_TEST_CASE_P( 518 INSTANTIATE_TEST_CASE_P(
519 ConfigurationPolicyProviderWinTestInstance2, 519 ConfigurationPolicyProviderWinTestInstance2,
520 ConfigurationPolicyProviderWinTest, 520 ConfigurationPolicyProviderWinTest,
521 testing::Values( 521 testing::Values(
522 PolicyTestParams::ForListPolicy( 522 PolicyTestParams::ForListPolicy(
523 kPolicyURLWhitelist, 523 kPolicyURLWhitelist,
524 key::kURLWhitelist))); 524 key::kURLWhitelist),
525 PolicyTestParams::ForBooleanPolicy(
526 kPolicyCloudPrintSubmitEnabled,
527 key::kCloudPrintSubmitEnabled)));
525 528
526 } // namespace policy 529 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac_unittest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698