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

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

Issue 8395007: Add policy for blocking GCP printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/json/json_value_serializer.h" 8 #include "base/json/json_value_serializer.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 key::kURLWhitelist))); 364 key::kURLWhitelist)));
365 365
366 // Test parameters for all policies that are supported on ChromeOS only. 366 // Test parameters for all policies that are supported on ChromeOS only.
367 #if defined(OS_CHROMEOS) 367 #if defined(OS_CHROMEOS)
368 INSTANTIATE_TEST_CASE_P( 368 INSTANTIATE_TEST_CASE_P(
369 ConfigDirPolicyProviderValueTestChromeOSInstance, 369 ConfigDirPolicyProviderValueTestChromeOSInstance,
370 ConfigDirPolicyProviderValueTest, 370 ConfigDirPolicyProviderValueTest,
371 testing::Values( 371 testing::Values(
372 ValueTestParams::ForIntegerPolicy( 372 ValueTestParams::ForIntegerPolicy(
373 kPolicyPolicyRefreshRate, 373 kPolicyPolicyRefreshRate,
374 key::kPolicyRefreshRate))); 374 key::kPolicyRefreshRate),
375 ValueTestParams::ForBooleanPolicy(
376 kPolicyCloudPrintSubmitEnabled,
377 key::kCloudPrintSubmitEnabled));
Joao da Silva 2011/10/28 18:56:56 One ) missing. Also notice that this is #if defin
Albert Bodenhamer 2011/10/28 22:06:06 Done.
375 #endif 378 #endif
376 379
377 } // namespace policy 380 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698