OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/plugin/chrome_plugin_host.h" | 5 #include "chrome/plugin/chrome_plugin_host.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "chrome/common/chrome_constants.h" | 9 #include "chrome/common/chrome_constants.h" |
10 #include "chrome/common/chrome_plugin_lib.h" | 10 #include "chrome/common/chrome_plugin_lib.h" |
11 #include "chrome/common/chrome_plugin_util.h" | 11 #include "chrome/common/chrome_plugin_util.h" |
| 12 #include "chrome/common/render_messages.h" |
12 #include "chrome/common/resource_dispatcher.h" | 13 #include "chrome/common/resource_dispatcher.h" |
13 #include "chrome/renderer/render_view.h" | 14 #include "chrome/renderer/render_view.h" |
14 #include "net/base/data_url.h" | 15 #include "net/base/data_url.h" |
15 #include "net/base/upload_data.h" | 16 #include "net/base/upload_data.h" |
16 #include "webkit/glue/plugins/plugin_instance.h" | 17 #include "webkit/glue/plugins/plugin_instance.h" |
17 #include "webkit/glue/resource_loader_bridge.h" | 18 #include "webkit/glue/resource_loader_bridge.h" |
18 #include "webkit/glue/resource_type.h" | 19 #include "webkit/glue/resource_type.h" |
19 #include "webkit/glue/webkit_glue.h" | 20 #include "webkit/glue/webkit_glue.h" |
20 #include "webkit/glue/webframe.h" | 21 #include "webkit/glue/webframe.h" |
21 | 22 |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 | 636 |
636 response_funcs.size = sizeof(response_funcs); | 637 response_funcs.size = sizeof(response_funcs); |
637 response_funcs.received_redirect = CPRR_ReceivedRedirect; | 638 response_funcs.received_redirect = CPRR_ReceivedRedirect; |
638 response_funcs.start_completed = CPRR_StartCompleted; | 639 response_funcs.start_completed = CPRR_StartCompleted; |
639 response_funcs.read_completed = CPRR_ReadCompleted; | 640 response_funcs.read_completed = CPRR_ReadCompleted; |
640 response_funcs.upload_progress = CPRR_UploadProgress; | 641 response_funcs.upload_progress = CPRR_UploadProgress; |
641 } | 642 } |
642 | 643 |
643 return &browser_funcs; | 644 return &browser_funcs; |
644 } | 645 } |
OLD | NEW |