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

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: Created 6 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
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 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2248 "hardware_acceleration_mode_previous"; 2248 "hardware_acceleration_mode_previous";
2249 2249
2250 // List of protocol handlers. 2250 // List of protocol handlers.
2251 const char kRegisteredProtocolHandlers[] = 2251 const char kRegisteredProtocolHandlers[] =
2252 "custom_handlers.registered_protocol_handlers"; 2252 "custom_handlers.registered_protocol_handlers";
2253 2253
2254 // List of protocol handlers the user has requested not to be asked about again. 2254 // List of protocol handlers the user has requested not to be asked about again.
2255 const char kIgnoredProtocolHandlers[] = 2255 const char kIgnoredProtocolHandlers[] =
2256 "custom_handlers.ignored_protocol_handlers"; 2256 "custom_handlers.ignored_protocol_handlers";
2257 2257
2258 // List of protocol handlers registered by policy.
2259 const char kPolicyRegisteredProtocolHandlers[] =
2260 "custom_handlers.policy.registered_protocol_handlers";
2261
2262 // List of protocol handlers the policy has requested to be ignored.
2263 const char kPolicyIgnoredProtocolHandlers[] =
2264 "custom_handlers.policy.ignored_protocol_handlers";
2265
2258 // Whether user-specified handlers for protocols and content types can be 2266 // Whether user-specified handlers for protocols and content types can be
2259 // specified. 2267 // specified.
2260 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 2268 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
2261 2269
2262 // Integer that specifies the policy refresh rate for device-policy in 2270 // Integer that specifies the policy refresh rate for device-policy in
2263 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 2271 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
2264 // by the cloud policy subsystem. 2272 // by the cloud policy subsystem.
2265 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 2273 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
2266 2274
2267 // String that represents the recovery component last downloaded version. This 2275 // String that represents the recovery component last downloaded version. This
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
2508 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2516 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2509 // given by the PartnerBookmarksProvider and either the user-visible renamed 2517 // given by the PartnerBookmarksProvider and either the user-visible renamed
2510 // title or an empty string if the bookmark node was removed. 2518 // title or an empty string if the bookmark node was removed.
2511 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2519 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2512 #endif 2520 #endif
2513 2521
2514 // Whether DNS Quick Check is disabled in proxy resolution. 2522 // Whether DNS Quick Check is disabled in proxy resolution.
2515 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2523 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2516 2524
2517 } // namespace prefs 2525 } // namespace prefs
OLDNEW
« chrome/browser/custom_handlers/protocol_handler_registry.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698