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

Side by Side Diff: chrome/common/policy_constants.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
« no previous file with comments | « chrome/common/policy_constants.h ('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) 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 "chrome/common/policy_constants.h" 5 #include "chrome/common/policy_constants.h"
6 6
7 namespace policy { 7 namespace policy {
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #if defined(GOOGLE_CHROME_BUILD) 10 #if defined(GOOGLE_CHROME_BUILD)
11 const wchar_t kRegistrySubKey[] = L"SOFTWARE\\Policies\\Google\\Chrome"; 11 const wchar_t kRegistrySubKey[] = L"SOFTWARE\\Policies\\Google\\Chrome";
12 #else 12 #else
13 const wchar_t kRegistrySubKey[] = L"SOFTWARE\\Policies\\Chromium"; 13 const wchar_t kRegistrySubKey[] = L"SOFTWARE\\Policies\\Chromium";
14 #endif 14 #endif
15 #endif 15 #endif
16 16
17 namespace key { 17 namespace key {
18 18
19 const char kHomepageLocation[] = "HomepageLocation"; 19 const char kHomepageLocation[] = "HomepageLocation";
20 const char kHomepageIsNewTabPage[] = "HomepageIsNewTabPage"; 20 const char kHomepageIsNewTabPage[] = "HomepageIsNewTabPage";
21 const char kRestoreOnStartup[] = "RestoreOnStartup"; 21 const char kRestoreOnStartup[] = "RestoreOnStartup";
22 const char kURLsToRestoreOnStartup[] = "RestoreOnStartupURLs"; 22 const char kURLsToRestoreOnStartup[] = "RestoreOnStartupURLs";
23 const char kDefaultSearchProviderEnabled[] = "DefaultSearchProviderEnabled"; 23 const char kDefaultSearchProviderEnabled[] = "DefaultSearchProviderEnabled";
24 const char kDefaultSearchProviderName[] = "DefaultSearchProviderName"; 24 const char kDefaultSearchProviderName[] = "DefaultSearchProviderName";
25 const char kDefaultSearchProviderKeyword[] = "DefaultSearchProviderKeyword"; 25 const char kDefaultSearchProviderKeyword[] = "DefaultSearchProviderKeyword";
26 const char kDefaultSearchProviderSearchURL[] = 26 const char kDefaultSearchProviderSearchURL[] =
27 "DefaultSearchProviderSearchURL"; 27 "DefaultSearchProviderSearchURL";
28 const char kDefaultSearchProviderSuggestURL[] = 28 const char kDefaultSearchProviderSuggestURL[] =
29 "DefaultSearchProviderSuggestURL"; 29 "DefaultSearchProviderSuggestURL";
30 const char kDefaultSearchProviderInstantURL[] =
31 "DefaultSearchProviderInstantURL";
30 const char kDefaultSearchProviderIconURL[] = 32 const char kDefaultSearchProviderIconURL[] =
31 "DefaultSearchProviderIconURL"; 33 "DefaultSearchProviderIconURL";
32 const char kDefaultSearchProviderEncodings[] = 34 const char kDefaultSearchProviderEncodings[] =
33 "DefaultSearchProviderEncodings"; 35 "DefaultSearchProviderEncodings";
34 const char kDisableSpdy[] = "DisableSpdy"; 36 const char kDisableSpdy[] = "DisableSpdy";
35 // We consider the name ProxyMode more apt than ProxyServerMode but could 37 // We consider the name ProxyMode more apt than ProxyServerMode but could
36 // not change it after publishing that name for the win registry and policy 38 // not change it after publishing that name for the win registry and policy
37 // config files. 39 // config files.
38 const char kProxyMode[] = "ProxyServerMode"; 40 const char kProxyMode[] = "ProxyServerMode";
39 const char kProxyServer[] = "ProxyServer"; 41 const char kProxyServer[] = "ProxyServer";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const char kChromeFrameContentTypes[] = "ChromeFrameContentTypes"; 85 const char kChromeFrameContentTypes[] = "ChromeFrameContentTypes";
84 86
85 #if defined(OS_CHROMEOS) 87 #if defined(OS_CHROMEOS)
86 // ChromeOS policy constants 88 // ChromeOS policy constants
87 const char kChromeOsLockOnIdleSuspend[] = "ChromeOsLockOnIdleSuspend"; 89 const char kChromeOsLockOnIdleSuspend[] = "ChromeOsLockOnIdleSuspend";
88 #endif 90 #endif
89 91
90 } // namespace key 92 } // namespace key
91 93
92 } // namespace policy 94 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/common/policy_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698