Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Side by Side Diff: chrome/plugin/chrome_plugin_host.cc

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/common/chrome_constants.h" 10 #include "chrome/common/chrome_constants.h"
11 #include "chrome/common/chrome_plugin_lib.h" 11 #include "chrome/common/chrome_plugin_lib.h"
12 #include "chrome/common/chrome_plugin_util.h" 12 #include "chrome/common/chrome_plugin_util.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/plugin_messages.h" 14 #include "chrome/common/plugin_messages.h"
15 #include "chrome/plugin/plugin_process.h" 15 #include "chrome/plugin/plugin_process.h"
16 #include "chrome/plugin/plugin_thread.h" 16 #include "chrome/plugin/plugin_thread.h"
17 #include "chrome/plugin/webplugin_proxy.h" 17 #include "chrome/plugin/webplugin_proxy.h"
18 #include "net/base/data_url.h" 18 #include "net/base/data_url.h"
19 #include "net/base/upload_data.h" 19 #include "net/base/upload_data.h"
20 #include "net/http/http_response_headers.h"
20 #include "webkit/glue/plugins/plugin_instance.h" 21 #include "webkit/glue/plugins/plugin_instance.h"
21 #include "webkit/glue/resource_loader_bridge.h" 22 #include "webkit/glue/resource_loader_bridge.h"
22 #include "webkit/glue/resource_type.h" 23 #include "webkit/glue/resource_type.h"
23 #include "webkit/glue/webkit_glue.h" 24 #include "webkit/glue/webkit_glue.h"
24 25
25 namespace { 26 namespace {
26 27
27 using webkit_glue::ResourceLoaderBridge; 28 using webkit_glue::ResourceLoaderBridge;
28 29
29 // This class manages a network request made by the plugin, handling the 30 // This class manages a network request made by the plugin, handling the
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 response_funcs.size = sizeof(response_funcs); 609 response_funcs.size = sizeof(response_funcs);
609 response_funcs.received_redirect = CPRR_ReceivedRedirect; 610 response_funcs.received_redirect = CPRR_ReceivedRedirect;
610 response_funcs.start_completed = CPRR_StartCompleted; 611 response_funcs.start_completed = CPRR_StartCompleted;
611 response_funcs.read_completed = CPRR_ReadCompleted; 612 response_funcs.read_completed = CPRR_ReadCompleted;
612 response_funcs.upload_progress = CPRR_UploadProgress; 613 response_funcs.upload_progress = CPRR_UploadProgress;
613 } 614 }
614 615
615 return &browser_funcs; 616 return &browser_funcs;
616 } 617 }
617 618
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698