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 #include "content/utility/utility_thread_impl.h" | 5 #include "content/utility/utility_thread_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
12 #include "content/common/child_process.h" | 12 #include "content/child/child_process.h" |
| 13 #include "content/child/webkitplatformsupport_impl.h" |
13 #include "content/common/child_process_messages.h" | 14 #include "content/common/child_process_messages.h" |
14 #include "content/common/utility_messages.h" | 15 #include "content/common/utility_messages.h" |
15 #include "content/common/webkitplatformsupport_impl.h" | |
16 #include "content/public/utility/content_utility_client.h" | 16 #include "content/public/utility/content_utility_client.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
18 #include "webkit/plugins/npapi/plugin_list.h" | 18 #include "webkit/plugins/npapi/plugin_list.h" |
19 | 19 |
20 #if defined(TOOLKIT_GTK) | 20 #if defined(TOOLKIT_GTK) |
21 #include <gtk/gtk.h> | 21 #include <gtk/gtk.h> |
22 | 22 |
23 #include "ui/gfx/gtk_util.h" | 23 #include "ui/gfx/gtk_util.h" |
24 #endif | 24 #endif |
25 | 25 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 Send(new UtilityHostMsg_LoadPluginFailed(i, plugin_paths[i])); | 127 Send(new UtilityHostMsg_LoadPluginFailed(i, plugin_paths[i])); |
128 else | 128 else |
129 Send(new UtilityHostMsg_LoadedPlugin(i, plugin)); | 129 Send(new UtilityHostMsg_LoadedPlugin(i, plugin)); |
130 } | 130 } |
131 | 131 |
132 ReleaseProcessIfNeeded(); | 132 ReleaseProcessIfNeeded(); |
133 } | 133 } |
134 #endif | 134 #endif |
135 | 135 |
136 } // namespace content | 136 } // namespace content |
OLD | NEW |