OLD | NEW |
1 // Copyright (c) 2011 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 #ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 5 #ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 int id, | 48 int id, |
49 const std::vector<SerializedScriptValue>& serialized_script_values, | 49 const std::vector<SerializedScriptValue>& serialized_script_values, |
50 const string16& idb_key_path); | 50 const string16& idb_key_path); |
51 void OnInjectIDBKey(const IndexedDBKey& key, | 51 void OnInjectIDBKey(const IndexedDBKey& key, |
52 const SerializedScriptValue& value, | 52 const SerializedScriptValue& value, |
53 const string16& key_path); | 53 const string16& key_path); |
54 void OnBatchModeStarted(); | 54 void OnBatchModeStarted(); |
55 void OnBatchModeFinished(); | 55 void OnBatchModeFinished(); |
56 | 56 |
57 #if defined(OS_POSIX) | 57 #if defined(OS_POSIX) |
58 void OnLoadPlugins( | 58 void OnLoadPlugins(const std::vector<FilePath>& plugin_paths); |
59 const std::vector<FilePath>& extra_plugin_paths, | |
60 const std::vector<FilePath>& extra_plugin_dirs, | |
61 const std::vector<webkit::WebPluginInfo>& internal_plugins); | |
62 #endif // OS_POSIX | 59 #endif // OS_POSIX |
63 | 60 |
64 // True when we're running in batch mode. | 61 // True when we're running in batch mode. |
65 bool batch_mode_; | 62 bool batch_mode_; |
66 | 63 |
67 scoped_ptr<webkit_glue::WebKitPlatformSupportImpl> webkit_platform_support_; | 64 scoped_ptr<webkit_glue::WebKitPlatformSupportImpl> webkit_platform_support_; |
68 | 65 |
69 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); | 66 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); |
70 }; | 67 }; |
71 | 68 |
72 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 69 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
OLD | NEW |