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

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

Issue 7013046: Implemented a policy for centralized setting of the --disk-cache-dir flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Protected the policy from hitting ChromeOS. 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 kPolicyAlwaysAuthorizePlugins, 361 kPolicyAlwaysAuthorizePlugins,
362 key::kAlwaysAuthorizePlugins), 362 key::kAlwaysAuthorizePlugins),
363 ValueTestParams::ForBooleanPolicy( 363 ValueTestParams::ForBooleanPolicy(
364 kPolicyBookmarkBarEnabled, 364 kPolicyBookmarkBarEnabled,
365 key::kBookmarkBarEnabled), 365 key::kBookmarkBarEnabled),
366 ValueTestParams::ForBooleanPolicy( 366 ValueTestParams::ForBooleanPolicy(
367 kPolicyEditBookmarksEnabled, 367 kPolicyEditBookmarksEnabled,
368 key::kEditBookmarksEnabled), 368 key::kEditBookmarksEnabled),
369 ValueTestParams::ForListPolicy( 369 ValueTestParams::ForListPolicy(
370 kPolicyDisabledSchemes, 370 kPolicyDisabledSchemes,
371 key::kDisabledSchemes))); 371 key::kDisabledSchemes),
372 ValueTestParams::ForStringPolicy(
373 kPolicyDiskCacheDir,
374 key::kDiskCacheDir)));
372 375
373 } // namespace policy 376 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.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