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

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

Issue 7520023: Converted IncognitoForced boolean policy into IncognitoModeAvailability enum policy. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unnecessary comment. Created 9 years, 4 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 key::kPrintingEnabled), 329 key::kPrintingEnabled),
330 ValueTestParams::ForIntegerPolicy( 330 ValueTestParams::ForIntegerPolicy(
331 kPolicyDevicePolicyRefreshRate, 331 kPolicyDevicePolicyRefreshRate,
332 key::kDevicePolicyRefreshRate), 332 key::kDevicePolicyRefreshRate),
333 ValueTestParams::ForIntegerPolicy( 333 ValueTestParams::ForIntegerPolicy(
334 kPolicyPolicyRefreshRate, 334 kPolicyPolicyRefreshRate,
335 key::kPolicyRefreshRate), 335 key::kPolicyRefreshRate),
336 ValueTestParams::ForBooleanPolicy( 336 ValueTestParams::ForBooleanPolicy(
337 kPolicyInstantEnabled, 337 kPolicyInstantEnabled,
338 key::kInstantEnabled), 338 key::kInstantEnabled),
339 ValueTestParams::ForBooleanPolicy( 339 ValueTestParams::ForIntegerPolicy(
340 kPolicyIncognitoEnabled, 340 kPolicyIncognitoModeAvailability,
341 key::kIncognitoEnabled), 341 key::kIncognitoModeAvailability),
342 ValueTestParams::ForBooleanPolicy( 342 ValueTestParams::ForBooleanPolicy(
343 kPolicyDisablePluginFinder, 343 kPolicyDisablePluginFinder,
344 key::kDisablePluginFinder), 344 key::kDisablePluginFinder),
345 ValueTestParams::ForBooleanPolicy( 345 ValueTestParams::ForBooleanPolicy(
346 kPolicyClearSiteDataOnExit, 346 kPolicyClearSiteDataOnExit,
347 key::kClearSiteDataOnExit), 347 key::kClearSiteDataOnExit),
348 ValueTestParams::ForStringPolicy( 348 ValueTestParams::ForStringPolicy(
349 kPolicyDownloadDirectory, 349 kPolicyDownloadDirectory,
350 key::kDownloadDirectory), 350 key::kDownloadDirectory),
351 ValueTestParams::ForBooleanPolicy( 351 ValueTestParams::ForBooleanPolicy(
(...skipping 18 matching lines...) Expand all
370 kPolicyEditBookmarksEnabled, 370 kPolicyEditBookmarksEnabled,
371 key::kEditBookmarksEnabled), 371 key::kEditBookmarksEnabled),
372 ValueTestParams::ForListPolicy( 372 ValueTestParams::ForListPolicy(
373 kPolicyDisabledSchemes, 373 kPolicyDisabledSchemes,
374 key::kDisabledSchemes), 374 key::kDisabledSchemes),
375 ValueTestParams::ForStringPolicy( 375 ValueTestParams::ForStringPolicy(
376 kPolicyDiskCacheDir, 376 kPolicyDiskCacheDir,
377 key::kDiskCacheDir))); 377 key::kDiskCacheDir)));
378 378
379 } // namespace policy 379 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.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