| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_CHROME_PLUGIN_LIB_H_ | 5 #ifndef CHROME_COMMON_CHROME_PLUGIN_LIB_H_ |
| 6 #define CHROME_COMMON_CHROME_PLUGIN_LIB_H_ | 6 #define CHROME_COMMON_CHROME_PLUGIN_LIB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 12 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 13 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 14 #include "chrome/common/chrome_plugin_api.h" | 12 #include "chrome/common/chrome_plugin_api.h" |
| 15 | 13 |
| 16 class MessageLoop; | 14 class MessageLoop; |
| 17 | 15 |
| 18 // A ChromePluginLib is a single Chrome Plugin Library. | 16 // A ChromePluginLib is a single Chrome Plugin Library. |
| 19 // This class is used in the browser process (IO thread), and the plugin process | 17 // This class is used in the browser process (IO thread), and the plugin process |
| 20 // (plugin thread). It should not be accessed on other threads, because it | 18 // (plugin thread). It should not be accessed on other threads, because it |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 CPPluginFuncs plugin_funcs_; | 96 CPPluginFuncs plugin_funcs_; |
| 99 | 97 |
| 100 // Used for unit tests. | 98 // Used for unit tests. |
| 101 typedef int (STDCALL *CP_TestFunc)(void*); | 99 typedef int (STDCALL *CP_TestFunc)(void*); |
| 102 CP_TestFunc CP_Test_; | 100 CP_TestFunc CP_Test_; |
| 103 | 101 |
| 104 DISALLOW_COPY_AND_ASSIGN(ChromePluginLib); | 102 DISALLOW_COPY_AND_ASSIGN(ChromePluginLib); |
| 105 }; | 103 }; |
| 106 | 104 |
| 107 #endif // CHROME_COMMON_CHROME_PLUGIN_LIB_H_ | 105 #endif // CHROME_COMMON_CHROME_PLUGIN_LIB_H_ |
| OLD | NEW |