OLD | NEW |
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 "content/shell/renderer/shell_content_renderer_client.h" | 5 #include "content/shell/renderer/shell_content_renderer_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "components/web_cache/renderer/web_cache_render_process_observer.h" | 8 #include "components/web_cache/renderer/web_cache_render_process_observer.h" |
9 #include "content/public/renderer/render_thread.h" | 9 #include "content/public/renderer/render_thread.h" |
10 #include "content/shell/renderer/shell_render_view_observer.h" | 10 #include "content/shell/renderer/shell_render_view_observer.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 const GURL& url) { | 34 const GURL& url) { |
35 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 35 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
36 switches::kEnablePepperTesting); | 36 switches::kEnablePepperTesting); |
37 } | 37 } |
38 | 38 |
39 bool ShellContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 39 bool ShellContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
40 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 40 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
41 switches::kEnablePepperTesting); | 41 switches::kEnablePepperTesting); |
42 } | 42 } |
43 | 43 |
| 44 bool ShellContentRendererClient::IsPluginAllowedToUseMulticastAPI() { |
| 45 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 46 switches::kEnablePepperTesting); |
| 47 } |
| 48 |
44 } // namespace content | 49 } // namespace content |
OLD | NEW |