| 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/browser/plugin_service_impl.h" | 5 #include "content/browser/plugin_service_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/message_loop/message_loop_proxy.h" | 12 #include "base/message_loop/message_loop_proxy.h" |
| 13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "base/path_service.h" | |
| 15 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
| 18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
| 19 #include "content/browser/ppapi_plugin_process_host.h" | 18 #include "content/browser/ppapi_plugin_process_host.h" |
| 20 #include "content/browser/renderer_host/render_process_host_impl.h" | 19 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 21 #include "content/browser/renderer_host/render_view_host_impl.h" | 20 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 22 #include "content/common/pepper_plugin_list.h" | 21 #include "content/common/pepper_plugin_list.h" |
| 23 #include "content/common/plugin_list.h" | 22 #include "content/common/plugin_list.h" |
| 24 #include "content/common/view_messages.h" | 23 #include "content/common/view_messages.h" |
| (...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 #endif | 837 #endif |
| 839 | 838 |
| 840 bool PluginServiceImpl::PpapiDevChannelSupported( | 839 bool PluginServiceImpl::PpapiDevChannelSupported( |
| 841 BrowserContext* browser_context, | 840 BrowserContext* browser_context, |
| 842 const GURL& document_url) { | 841 const GURL& document_url) { |
| 843 return content::GetContentClient()->browser()-> | 842 return content::GetContentClient()->browser()-> |
| 844 IsPluginAllowedToUseDevChannelAPIs(browser_context, document_url); | 843 IsPluginAllowedToUseDevChannelAPIs(browser_context, document_url); |
| 845 } | 844 } |
| 846 | 845 |
| 847 } // namespace content | 846 } // namespace content |
| OLD | NEW |