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

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

Issue 7014036: Split the policy refresh rate preference into user- and device-policy refresh rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 9 years, 6 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 <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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 ValueTestParams::ForListPolicy( 321 ValueTestParams::ForListPolicy(
322 kPolicyExtensionInstallBlacklist, 322 kPolicyExtensionInstallBlacklist,
323 key::kExtensionInstallBlacklist), 323 key::kExtensionInstallBlacklist),
324 ValueTestParams::ForBooleanPolicy( 324 ValueTestParams::ForBooleanPolicy(
325 kPolicyShowHomeButton, 325 kPolicyShowHomeButton,
326 key::kShowHomeButton), 326 key::kShowHomeButton),
327 ValueTestParams::ForBooleanPolicy( 327 ValueTestParams::ForBooleanPolicy(
328 kPolicyPrintingEnabled, 328 kPolicyPrintingEnabled,
329 key::kPrintingEnabled), 329 key::kPrintingEnabled),
330 ValueTestParams::ForIntegerPolicy( 330 ValueTestParams::ForIntegerPolicy(
331 kPolicyDevicePolicyRefreshRate,
332 key::kDevicePolicyRefreshRate),
333 ValueTestParams::ForIntegerPolicy(
331 kPolicyPolicyRefreshRate, 334 kPolicyPolicyRefreshRate,
332 key::kPolicyRefreshRate), 335 key::kPolicyRefreshRate),
333 ValueTestParams::ForBooleanPolicy( 336 ValueTestParams::ForBooleanPolicy(
334 kPolicyInstantEnabled, 337 kPolicyInstantEnabled,
335 key::kInstantEnabled), 338 key::kInstantEnabled),
336 ValueTestParams::ForBooleanPolicy( 339 ValueTestParams::ForBooleanPolicy(
337 kPolicyIncognitoEnabled, 340 kPolicyIncognitoEnabled,
338 key::kIncognitoEnabled), 341 key::kIncognitoEnabled),
339 ValueTestParams::ForBooleanPolicy( 342 ValueTestParams::ForBooleanPolicy(
340 kPolicyDisablePluginFinder, 343 kPolicyDisablePluginFinder,
(...skipping 26 matching lines...) Expand all
367 kPolicyEditBookmarksEnabled, 370 kPolicyEditBookmarksEnabled,
368 key::kEditBookmarksEnabled), 371 key::kEditBookmarksEnabled),
369 ValueTestParams::ForListPolicy( 372 ValueTestParams::ForListPolicy(
370 kPolicyDisabledSchemes, 373 kPolicyDisabledSchemes,
371 key::kDisabledSchemes), 374 key::kDisabledSchemes),
372 ValueTestParams::ForStringPolicy( 375 ValueTestParams::ForStringPolicy(
373 kPolicyDiskCacheDir, 376 kPolicyDiskCacheDir,
374 key::kDiskCacheDir))); 377 key::kDiskCacheDir)));
375 378
376 } // namespace policy 379 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem.cc ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698