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

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

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: Rebase Created 3 years, 10 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/app/media_router_strings.grdp ('k') | chrome/browser/policy/policy_browsertest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 { key::kSSLVersionMax, 404 { key::kSSLVersionMax,
405 ssl_config::prefs::kSSLVersionMax, 405 ssl_config::prefs::kSSLVersionMax,
406 base::Value::Type::STRING }, 406 base::Value::Type::STRING },
407 { key::kNTPContentSuggestionsEnabled, 407 { key::kNTPContentSuggestionsEnabled,
408 ntp_snippets::prefs::kEnableSnippets, 408 ntp_snippets::prefs::kEnableSnippets,
409 base::Value::Type::BOOLEAN }, 409 base::Value::Type::BOOLEAN },
410 #if defined(ENABLE_MEDIA_ROUTER) 410 #if defined(ENABLE_MEDIA_ROUTER)
411 { key::kEnableMediaRouter, 411 { key::kEnableMediaRouter,
412 prefs::kEnableMediaRouter, 412 prefs::kEnableMediaRouter,
413 base::Value::Type::BOOLEAN }, 413 base::Value::Type::BOOLEAN },
414 #if !defined(OS_ANDROID)
415 { key::kShowCastIconInToolbar,
416 prefs::kShowCastIconInToolbar,
417 base::Value::Type::BOOLEAN },
418 #endif // !defined(OS_ANDROID)
414 #endif // defined(ENABLE_MEDIA_ROUTER) 419 #endif // defined(ENABLE_MEDIA_ROUTER)
415 #if BUILDFLAG(ENABLE_WEBRTC) 420 #if BUILDFLAG(ENABLE_WEBRTC)
416 { key::kWebRtcUdpPortRange, 421 { key::kWebRtcUdpPortRange,
417 prefs::kWebRTCUDPPortRange, 422 prefs::kWebRTCUDPPortRange,
418 base::Value::Type::STRING }, 423 base::Value::Type::STRING },
419 #endif // BUILDFLAG(ENABLE_WEBRTC) 424 #endif // BUILDFLAG(ENABLE_WEBRTC)
420 #if !defined(OS_MACOSX) 425 #if !defined(OS_MACOSX)
421 { key::kFullscreenAllowed, 426 { key::kFullscreenAllowed,
422 prefs::kFullscreenAllowed, 427 prefs::kFullscreenAllowed,
423 base::Value::Type::BOOLEAN }, 428 base::Value::Type::BOOLEAN },
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 #endif // defined(OS_CHROMEOS) 1006 #endif // defined(OS_CHROMEOS)
1002 1007
1003 #if BUILDFLAG(ENABLE_PLUGINS) 1008 #if BUILDFLAG(ENABLE_PLUGINS)
1004 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1009 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1005 #endif // BUILDFLAG(ENABLE_PLUGINS) 1010 #endif // BUILDFLAG(ENABLE_PLUGINS)
1006 1011
1007 return handlers; 1012 return handlers;
1008 } 1013 }
1009 1014
1010 } // namespace policy 1015 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/app/media_router_strings.grdp ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698