| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_PLUGIN_SERVICE_H_ | 8 #ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_ | 
| 9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ | 9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ | 
| 10 #pragma once | 10 #pragma once | 
| 11 | 11 | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 33 } | 33 } | 
| 34 #endif | 34 #endif | 
| 35 | 35 | 
| 36 namespace IPC { | 36 namespace IPC { | 
| 37 class Message; | 37 class Message; | 
| 38 } | 38 } | 
| 39 | 39 | 
| 40 class MessageLoop; | 40 class MessageLoop; | 
| 41 class Profile; | 41 class Profile; | 
| 42 class ResourceDispatcherHost; | 42 class ResourceDispatcherHost; | 
|  | 43 | 
|  | 44 namespace net { | 
| 43 class URLRequestContext; | 45 class URLRequestContext; | 
| 44 | 46 }  // namespace net | 
| 45 | 47 | 
| 46 namespace webkit { | 48 namespace webkit { | 
| 47 namespace npapi { | 49 namespace npapi { | 
| 48 struct WebPluginInfo; | 50 struct WebPluginInfo; | 
| 49 } | 51 } | 
| 50 } | 52 } | 
| 51 | 53 | 
| 52 // This must be created on the main thread but it's only called on the IO/file | 54 // This must be created on the main thread but it's only called on the IO/file | 
| 53 // thread. | 55 // thread. | 
| 54 class PluginService | 56 class PluginService | 
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 180 | 182 | 
| 181   // Set to true if chrome plugins are enabled. Defaults to true. | 183   // Set to true if chrome plugins are enabled. Defaults to true. | 
| 182   static bool enable_chrome_plugins_; | 184   static bool enable_chrome_plugins_; | 
| 183 | 185 | 
| 184   DISALLOW_COPY_AND_ASSIGN(PluginService); | 186   DISALLOW_COPY_AND_ASSIGN(PluginService); | 
| 185 }; | 187 }; | 
| 186 | 188 | 
| 187 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); | 189 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); | 
| 188 | 190 | 
| 189 #endif  // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 191 #endif  // CHROME_BROWSER_PLUGIN_SERVICE_H_ | 
| OLD | NEW | 
|---|