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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_mac_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 <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 6
7 #include "base/mac/scoped_cftyperef.h" 7 #include "base/mac/scoped_cftyperef.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util-inl.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/policy/configuration_policy_pref_store.h" 10 #include "chrome/browser/policy/configuration_policy_pref_store.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 kPolicyBookmarkBarEnabled, 335 kPolicyBookmarkBarEnabled,
336 key::kBookmarkBarEnabled), 336 key::kBookmarkBarEnabled),
337 PolicyTestParams::ForBooleanPolicy( 337 PolicyTestParams::ForBooleanPolicy(
338 kPolicyEditBookmarksEnabled, 338 kPolicyEditBookmarksEnabled,
339 key::kEditBookmarksEnabled), 339 key::kEditBookmarksEnabled),
340 PolicyTestParams::ForBooleanPolicy( 340 PolicyTestParams::ForBooleanPolicy(
341 kPolicyAllowFileSelectionDialogs, 341 kPolicyAllowFileSelectionDialogs,
342 key::kAllowFileSelectionDialogs), 342 key::kAllowFileSelectionDialogs),
343 PolicyTestParams::ForListPolicy( 343 PolicyTestParams::ForListPolicy(
344 kPolicyDisabledSchemes, 344 kPolicyDisabledSchemes,
345 key::kDisabledSchemes))); 345 key::kDisabledSchemes),
346 PolicyTestParams::ForStringPolicy(
347 kPolicyDiskCacheDir,
348 key::kDiskCacheDir)));
346 349
347 } // namespace policy 350 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698