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 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class Version; | 11 class Version; |
12 } | 12 } |
13 | 13 |
14 namespace webkit { | 14 namespace webkit { |
15 namespace npapi { | 15 namespace npapi { |
16 | 16 |
17 // Parse a version string as used by a plug-in. This method is more lenient | 17 // Parse a version string as used by a plug-in. This method is more lenient |
18 // in accepting weird version strings than base::Version::GetFromString() | 18 // in accepting weird version strings than base::Version::GetFromString() |
(...skipping 10 matching lines...) Expand all Loading... |
29 | 29 |
30 // Returns true if the plugin thread should terminate the process forcefully | 30 // Returns true if the plugin thread should terminate the process forcefully |
31 // instead of exiting cleanly. | 31 // instead of exiting cleanly. |
32 bool ShouldForcefullyTerminatePluginProcess(); | 32 bool ShouldForcefullyTerminatePluginProcess(); |
33 | 33 |
34 | 34 |
35 } // namespace npapi | 35 } // namespace npapi |
36 } // namespace webkit | 36 } // namespace webkit |
37 | 37 |
38 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ | 38 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_ |
OLD | NEW |