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

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

Issue 6279012: Implement pref policy for disabling incognito mode.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 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"
11 #include "chrome/browser/browser_thread.h" 11 #include "chrome/browser/browser_thread.h"
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 kPolicyExtensionInstallDenyList, 316 kPolicyExtensionInstallDenyList,
317 key::kExtensionInstallDenyList), 317 key::kExtensionInstallDenyList),
318 ValueTestParams::ForBooleanPolicy( 318 ValueTestParams::ForBooleanPolicy(
319 kPolicyShowHomeButton, 319 kPolicyShowHomeButton,
320 key::kShowHomeButton), 320 key::kShowHomeButton),
321 ValueTestParams::ForBooleanPolicy( 321 ValueTestParams::ForBooleanPolicy(
322 kPolicyPrintingEnabled, 322 kPolicyPrintingEnabled,
323 key::kPrintingEnabled), 323 key::kPrintingEnabled),
324 ValueTestParams::ForIntegerPolicy( 324 ValueTestParams::ForIntegerPolicy(
325 kPolicyPolicyRefreshRate, 325 kPolicyPolicyRefreshRate,
326 key::kPolicyRefreshRate))); 326 key::kPolicyRefreshRate),
327 ValueTestParams::ForBooleanPolicy(
328 kPolicyIncognitoEnabled,
329 key::kIncognitoEnabled)));
327 330
328 } // namespace policy 331 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698