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

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: Address feedback by mnissler. Created 9 years, 7 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/memory/scoped_temp_dir.h" 8 #include "base/memory/scoped_temp_dir.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kPolicyPolicyRefreshRate, 331 kPolicyPolicyRefreshRate,
332 key::kPolicyRefreshRate), 332 key::kDevicePolicyRefreshRate),
333 ValueTestParams::ForIntegerPolicy(
334 kPolicyPolicyRefreshRate,
335 key::kUserPolicyRefreshRate),
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,
341 key::kDisablePluginFinder), 344 key::kDisablePluginFinder),
342 ValueTestParams::ForBooleanPolicy( 345 ValueTestParams::ForBooleanPolicy(
(...skipping 21 matching lines...) Expand all
364 kPolicyBookmarkBarEnabled, 367 kPolicyBookmarkBarEnabled,
365 key::kBookmarkBarEnabled), 368 key::kBookmarkBarEnabled),
366 ValueTestParams::ForBooleanPolicy( 369 ValueTestParams::ForBooleanPolicy(
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 375
373 } // namespace policy 376 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698