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

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

Issue 7057009: Convert list policy to string preference. (DefaultSearchProviderEncodings). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review, rebase 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
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-inl.h" 10 #include "base/stl_util-inl.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 key::kDefaultSearchProviderSearchURL), 383 key::kDefaultSearchProviderSearchURL),
384 PolicyTestParams::ForStringPolicy( 384 PolicyTestParams::ForStringPolicy(
385 kPolicyDefaultSearchProviderSuggestURL, 385 kPolicyDefaultSearchProviderSuggestURL,
386 key::kDefaultSearchProviderSuggestURL), 386 key::kDefaultSearchProviderSuggestURL),
387 PolicyTestParams::ForStringPolicy( 387 PolicyTestParams::ForStringPolicy(
388 kPolicyDefaultSearchProviderInstantURL, 388 kPolicyDefaultSearchProviderInstantURL,
389 key::kDefaultSearchProviderInstantURL), 389 key::kDefaultSearchProviderInstantURL),
390 PolicyTestParams::ForStringPolicy( 390 PolicyTestParams::ForStringPolicy(
391 kPolicyDefaultSearchProviderIconURL, 391 kPolicyDefaultSearchProviderIconURL,
392 key::kDefaultSearchProviderIconURL), 392 key::kDefaultSearchProviderIconURL),
393 PolicyTestParams::ForStringPolicy( 393 PolicyTestParams::ForListPolicy(
394 kPolicyDefaultSearchProviderEncodings, 394 kPolicyDefaultSearchProviderEncodings,
395 key::kDefaultSearchProviderEncodings), 395 key::kDefaultSearchProviderEncodings),
396 PolicyTestParams::ForStringPolicy( 396 PolicyTestParams::ForStringPolicy(
397 kPolicyProxyMode, 397 kPolicyProxyMode,
398 key::kProxyMode), 398 key::kProxyMode),
399 PolicyTestParams::ForIntegerPolicy( 399 PolicyTestParams::ForIntegerPolicy(
400 kPolicyProxyServerMode, 400 kPolicyProxyServerMode,
401 key::kProxyServerMode), 401 key::kProxyServerMode),
402 PolicyTestParams::ForStringPolicy( 402 PolicyTestParams::ForStringPolicy(
403 kPolicyProxyServer, 403 kPolicyProxyServer,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 kPolicyEditBookmarksEnabled, 496 kPolicyEditBookmarksEnabled,
497 key::kEditBookmarksEnabled), 497 key::kEditBookmarksEnabled),
498 PolicyTestParams::ForBooleanPolicy( 498 PolicyTestParams::ForBooleanPolicy(
499 kPolicyAllowFileSelectionDialogs, 499 kPolicyAllowFileSelectionDialogs,
500 key::kAllowFileSelectionDialogs), 500 key::kAllowFileSelectionDialogs),
501 PolicyTestParams::ForListPolicy( 501 PolicyTestParams::ForListPolicy(
502 kPolicyDisabledSchemes, 502 kPolicyDisabledSchemes,
503 key::kDisabledSchemes))); 503 key::kDisabledSchemes)));
504 504
505 } // namespace policy 505 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698