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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_win_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: Fix enum entry names & wrong include path. 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 <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 #include <windows.h> 6 #include <windows.h>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 key::kShowHomeButton), 455 key::kShowHomeButton),
456 PolicyTestParams::ForBooleanPolicy( 456 PolicyTestParams::ForBooleanPolicy(
457 kPolicyPrintingEnabled, 457 kPolicyPrintingEnabled,
458 key::kPrintingEnabled), 458 key::kPrintingEnabled),
459 PolicyTestParams::ForIntegerPolicy( 459 PolicyTestParams::ForIntegerPolicy(
460 kPolicyPolicyRefreshRate, 460 kPolicyPolicyRefreshRate,
461 key::kPolicyRefreshRate), 461 key::kPolicyRefreshRate),
462 PolicyTestParams::ForBooleanPolicy( 462 PolicyTestParams::ForBooleanPolicy(
463 kPolicyInstantEnabled, 463 kPolicyInstantEnabled,
464 key::kInstantEnabled), 464 key::kInstantEnabled),
465 PolicyTestParams::ForBooleanPolicy( 465 PolicyTestParams::ForIntegerPolicy(
466 kPolicyIncognitoEnabled, 466 kPolicyIncognitoModeAvailability,
467 key::kIncognitoEnabled), 467 key::kIncognitoModeAvailability),
468 PolicyTestParams::ForBooleanPolicy( 468 PolicyTestParams::ForBooleanPolicy(
469 kPolicyDisablePluginFinder, 469 kPolicyDisablePluginFinder,
470 key::kDisablePluginFinder), 470 key::kDisablePluginFinder),
471 PolicyTestParams::ForBooleanPolicy( 471 PolicyTestParams::ForBooleanPolicy(
472 kPolicyClearSiteDataOnExit, 472 kPolicyClearSiteDataOnExit,
473 key::kClearSiteDataOnExit), 473 key::kClearSiteDataOnExit),
474 PolicyTestParams::ForStringPolicy( 474 PolicyTestParams::ForStringPolicy(
475 kPolicyDownloadDirectory, 475 kPolicyDownloadDirectory,
476 key::kDownloadDirectory), 476 key::kDownloadDirectory),
477 PolicyTestParams::ForBooleanPolicy( 477 PolicyTestParams::ForBooleanPolicy(
(...skipping 24 matching lines...) Expand all
502 kPolicyDisabledSchemes, 502 kPolicyDisabledSchemes,
503 key::kDisabledSchemes), 503 key::kDisabledSchemes),
504 PolicyTestParams::ForStringPolicy( 504 PolicyTestParams::ForStringPolicy(
505 kPolicyDiskCacheDir, 505 kPolicyDiskCacheDir,
506 key::kDiskCacheDir), 506 key::kDiskCacheDir),
507 PolicyTestParams::ForIntegerPolicy( 507 PolicyTestParams::ForIntegerPolicy(
508 kPolicyMaxConnectionsPerProxy, 508 kPolicyMaxConnectionsPerProxy,
509 key::kMaxConnectionsPerProxy))); 509 key::kMaxConnectionsPerProxy)));
510 510
511 } // namespace policy 511 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698