| 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 30 matching lines...) Expand all Loading... |
| 41 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) | 41 #if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) |
| 42 #include "base/files/file_path_watcher.h" | 42 #include "base/files/file_path_watcher.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 namespace base { | 45 namespace base { |
| 46 class SingleThreadTaskRunner; | 46 class SingleThreadTaskRunner; |
| 47 } | 47 } |
| 48 | 48 |
| 49 namespace content { | 49 namespace content { |
| 50 class BrowserContext; | 50 class BrowserContext; |
| 51 class PluginDirWatcherDelegate; | |
| 52 class PluginServiceFilter; | 51 class PluginServiceFilter; |
| 53 class ResourceContext; | 52 class ResourceContext; |
| 54 struct PepperPluginInfo; | 53 struct PepperPluginInfo; |
| 55 | 54 |
| 56 class CONTENT_EXPORT PluginServiceImpl | 55 class CONTENT_EXPORT PluginServiceImpl |
| 57 : NON_EXPORTED_BASE(public PluginService) { | 56 : NON_EXPORTED_BASE(public PluginService) { |
| 58 public: | 57 public: |
| 59 // Returns the PluginServiceImpl singleton. | 58 // Returns the PluginServiceImpl singleton. |
| 60 static PluginServiceImpl* GetInstance(); | 59 static PluginServiceImpl* GetInstance(); |
| 61 | 60 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 158 |
| 160 // Used to detect if a given plugin is crashing over and over. | 159 // Used to detect if a given plugin is crashing over and over. |
| 161 std::map<base::FilePath, std::vector<base::Time> > crash_times_; | 160 std::map<base::FilePath, std::vector<base::Time> > crash_times_; |
| 162 | 161 |
| 163 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); | 162 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); |
| 164 }; | 163 }; |
| 165 | 164 |
| 166 } // namespace content | 165 } // namespace content |
| 167 | 166 |
| 168 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ | 167 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| OLD | NEW |