| 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 // This class responds to requests from renderers for the list of plugins, and | 5 // This class responds to requests from renderers for the list of plugins, and |
| 6 // also a proxy object for plugin instances. | 6 // also a proxy object for plugin instances. |
| 7 | 7 |
| 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) | 36 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) |
| 37 #include "base/files/file_path_watcher.h" | 37 #include "base/files/file_path_watcher.h" |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 namespace base { | 40 namespace base { |
| 41 class MessageLoopProxy; | 41 class MessageLoopProxy; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace webkit { | |
| 45 namespace npapi { | |
| 46 class PluginList; | |
| 47 } | |
| 48 } | |
| 49 | |
| 50 namespace content { | 44 namespace content { |
| 51 class BrowserContext; | 45 class BrowserContext; |
| 52 class PluginDirWatcherDelegate; | 46 class PluginDirWatcherDelegate; |
| 53 class PluginLoaderPosix; | 47 class PluginLoaderPosix; |
| 54 class PluginServiceFilter; | 48 class PluginServiceFilter; |
| 55 class ResourceContext; | 49 class ResourceContext; |
| 56 struct PepperPluginInfo; | 50 struct PepperPluginInfo; |
| 57 | 51 |
| 58 // base::Bind() has limited arity, and the filter-related methods tend to | 52 // base::Bind() has limited arity, and the filter-related methods tend to |
| 59 // surpass that limit. | 53 // surpass that limit. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 239 |
| 246 // Used to detect if a given plug-in is crashing over and over. | 240 // Used to detect if a given plug-in is crashing over and over. |
| 247 std::map<base::FilePath, std::vector<base::Time> > crash_times_; | 241 std::map<base::FilePath, std::vector<base::Time> > crash_times_; |
| 248 | 242 |
| 249 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); | 243 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); |
| 250 }; | 244 }; |
| 251 | 245 |
| 252 } // namespace content | 246 } // namespace content |
| 253 | 247 |
| 254 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 248 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| OLD | NEW |