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

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

Issue 6174002: Makes the instant url managed by group policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: configuration_policy_pref_store.cc Created 9 years, 11 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) 2010 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 ValueTestParams::ForStringPolicy( 246 ValueTestParams::ForStringPolicy(
247 kPolicyDefaultSearchProviderKeyword, 247 kPolicyDefaultSearchProviderKeyword,
248 key::kDefaultSearchProviderKeyword), 248 key::kDefaultSearchProviderKeyword),
249 ValueTestParams::ForStringPolicy( 249 ValueTestParams::ForStringPolicy(
250 kPolicyDefaultSearchProviderSearchURL, 250 kPolicyDefaultSearchProviderSearchURL,
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,
257 key::kDefaultSearchProviderInstantURL),
258 ValueTestParams::ForStringPolicy(
256 kPolicyDefaultSearchProviderIconURL, 259 kPolicyDefaultSearchProviderIconURL,
257 key::kDefaultSearchProviderIconURL), 260 key::kDefaultSearchProviderIconURL),
258 ValueTestParams::ForStringPolicy( 261 ValueTestParams::ForStringPolicy(
259 kPolicyDefaultSearchProviderEncodings, 262 kPolicyDefaultSearchProviderEncodings,
260 key::kDefaultSearchProviderEncodings), 263 key::kDefaultSearchProviderEncodings),
261 ValueTestParams::ForIntegerPolicy( 264 ValueTestParams::ForIntegerPolicy(
262 kPolicyProxyMode, 265 kPolicyProxyMode,
263 key::kProxyMode), 266 key::kProxyMode),
264 ValueTestParams::ForStringPolicy( 267 ValueTestParams::ForStringPolicy(
265 kPolicyProxyServer, 268 kPolicyProxyServer,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 kPolicyExtensionInstallDenyList, 313 kPolicyExtensionInstallDenyList,
311 key::kExtensionInstallDenyList), 314 key::kExtensionInstallDenyList),
312 ValueTestParams::ForBooleanPolicy( 315 ValueTestParams::ForBooleanPolicy(
313 kPolicyShowHomeButton, 316 kPolicyShowHomeButton,
314 key::kShowHomeButton), 317 key::kShowHomeButton),
315 ValueTestParams::ForBooleanPolicy( 318 ValueTestParams::ForBooleanPolicy(
316 kPolicyPrintingEnabled, 319 kPolicyPrintingEnabled,
317 key::kPrintingEnabled))); 320 key::kPrintingEnabled)));
318 321
319 } // namespace policy 322 } // 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