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

Side by Side Diff: chrome/browser/policy/config_dir_policy_provider_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 | « no previous file | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | 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 <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"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 key::kDefaultSearchProviderSearchURL), 251 key::kDefaultSearchProviderSearchURL),
252 ValueTestParams::ForStringPolicy( 252 ValueTestParams::ForStringPolicy(
253 kPolicyDefaultSearchProviderSuggestURL, 253 kPolicyDefaultSearchProviderSuggestURL,
254 key::kDefaultSearchProviderSuggestURL), 254 key::kDefaultSearchProviderSuggestURL),
255 ValueTestParams::ForStringPolicy( 255 ValueTestParams::ForStringPolicy(
256 kPolicyDefaultSearchProviderInstantURL, 256 kPolicyDefaultSearchProviderInstantURL,
257 key::kDefaultSearchProviderInstantURL), 257 key::kDefaultSearchProviderInstantURL),
258 ValueTestParams::ForStringPolicy( 258 ValueTestParams::ForStringPolicy(
259 kPolicyDefaultSearchProviderIconURL, 259 kPolicyDefaultSearchProviderIconURL,
260 key::kDefaultSearchProviderIconURL), 260 key::kDefaultSearchProviderIconURL),
261 ValueTestParams::ForStringPolicy( 261 ValueTestParams::ForListPolicy(
262 kPolicyDefaultSearchProviderEncodings, 262 kPolicyDefaultSearchProviderEncodings,
263 key::kDefaultSearchProviderEncodings), 263 key::kDefaultSearchProviderEncodings),
264 ValueTestParams::ForStringPolicy( 264 ValueTestParams::ForStringPolicy(
265 kPolicyProxyMode, 265 kPolicyProxyMode,
266 key::kProxyMode), 266 key::kProxyMode),
267 ValueTestParams::ForIntegerPolicy( 267 ValueTestParams::ForIntegerPolicy(
268 kPolicyProxyServerMode, 268 kPolicyProxyServerMode,
269 key::kProxyServerMode), 269 key::kProxyServerMode),
270 ValueTestParams::ForStringPolicy( 270 ValueTestParams::ForStringPolicy(
271 kPolicyProxyServer, 271 kPolicyProxyServer,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 372
373 } // namespace policy 373 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698