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

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

Issue 6079012: Allow policy refresh rate to be configured through policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/path_service.h" 8 #include "base/path_service.h"
9 #include "base/scoped_temp_dir.h" 9 #include "base/scoped_temp_dir.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 kPolicyExtensionInstallAllowList, 307 kPolicyExtensionInstallAllowList,
308 key::kExtensionInstallAllowList), 308 key::kExtensionInstallAllowList),
309 ValueTestParams::ForListPolicy( 309 ValueTestParams::ForListPolicy(
310 kPolicyExtensionInstallDenyList, 310 kPolicyExtensionInstallDenyList,
311 key::kExtensionInstallDenyList), 311 key::kExtensionInstallDenyList),
312 ValueTestParams::ForBooleanPolicy( 312 ValueTestParams::ForBooleanPolicy(
313 kPolicyShowHomeButton, 313 kPolicyShowHomeButton,
314 key::kShowHomeButton), 314 key::kShowHomeButton),
315 ValueTestParams::ForBooleanPolicy( 315 ValueTestParams::ForBooleanPolicy(
316 kPolicyPrintingEnabled, 316 kPolicyPrintingEnabled,
317 key::kPrintingEnabled))); 317 key::kPrintingEnabled),
318 ValueTestParams::ForIntegerPolicy(
319 kPolicyPolicyRefreshRate,
320 key::kPolicyRefreshRate)));
318 321
319 } // namespace policy 322 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698