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

Side by Side Diff: chrome/common/pref_names.cc

Issue 293983004: Modify ProtocolHandlerRegistry to make room for policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleans up the unit test Created 6 years, 6 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
« no previous file with comments | « chrome/common/pref_names.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2239 matching lines...) Expand 10 before | Expand all | Expand 10 after
2250 "hardware_acceleration_mode_previous"; 2250 "hardware_acceleration_mode_previous";
2251 2251
2252 // List of protocol handlers. 2252 // List of protocol handlers.
2253 const char kRegisteredProtocolHandlers[] = 2253 const char kRegisteredProtocolHandlers[] =
2254 "custom_handlers.registered_protocol_handlers"; 2254 "custom_handlers.registered_protocol_handlers";
2255 2255
2256 // List of protocol handlers the user has requested not to be asked about again. 2256 // List of protocol handlers the user has requested not to be asked about again.
2257 const char kIgnoredProtocolHandlers[] = 2257 const char kIgnoredProtocolHandlers[] =
2258 "custom_handlers.ignored_protocol_handlers"; 2258 "custom_handlers.ignored_protocol_handlers";
2259 2259
2260 // List of protocol handlers registered by policy.
2261 const char kPolicyRegisteredProtocolHandlers[] =
2262 "custom_handlers.policy.registered_protocol_handlers";
2263
2264 // List of protocol handlers the policy has requested to be ignored.
2265 const char kPolicyIgnoredProtocolHandlers[] =
2266 "custom_handlers.policy.ignored_protocol_handlers";
2267
2260 // Whether user-specified handlers for protocols and content types can be 2268 // Whether user-specified handlers for protocols and content types can be
2261 // specified. 2269 // specified.
2262 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 2270 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
2263 2271
2264 // Integer that specifies the policy refresh rate for device-policy in 2272 // Integer that specifies the policy refresh rate for device-policy in
2265 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 2273 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
2266 // by the cloud policy subsystem. 2274 // by the cloud policy subsystem.
2267 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 2275 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
2268 2276
2269 // String that represents the recovery component last downloaded version. This 2277 // String that represents the recovery component last downloaded version. This
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
2510 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2518 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2511 // given by the PartnerBookmarksProvider and either the user-visible renamed 2519 // given by the PartnerBookmarksProvider and either the user-visible renamed
2512 // title or an empty string if the bookmark node was removed. 2520 // title or an empty string if the bookmark node was removed.
2513 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2521 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2514 #endif 2522 #endif
2515 2523
2516 // Whether DNS Quick Check is disabled in proxy resolution. 2524 // Whether DNS Quick Check is disabled in proxy resolution.
2517 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2525 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2518 2526
2519 } // namespace prefs 2527 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698