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

Side by Side Diff: chrome/browser/plugin_process_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/browser/plugin_process_host.h" 5 #include "chrome/browser/plugin_process_host.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/common/chrome_plugin_lib.h" 30 #include "chrome/common/chrome_plugin_lib.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/debug_flags.h" 32 #include "chrome/common/debug_flags.h"
33 #include "chrome/common/logging_chrome.h" 33 #include "chrome/common/logging_chrome.h"
34 #include "chrome/common/plugin_messages.h" 34 #include "chrome/common/plugin_messages.h"
35 #include "chrome/common/render_messages.h" 35 #include "chrome/common/render_messages.h"
36 #include "chrome/common/win_util.h" 36 #include "chrome/common/win_util.h"
37 #include "net/base/cookie_monster.h" 37 #include "net/base/cookie_monster.h"
38 #include "net/base/io_buffer.h" 38 #include "net/base/io_buffer.h"
39 #include "net/url_request/url_request.h" 39 #include "net/url_request/url_request.h"
40 #include "net/url_request/url_request_context.h"
40 #include "sandbox/src/sandbox.h" 41 #include "sandbox/src/sandbox.h"
41 #include "webkit/glue/plugins/plugin_constants_win.h" 42 #include "webkit/glue/plugins/plugin_constants_win.h"
42 43
43 static const char kDefaultPluginFinderURL[] = 44 static const char kDefaultPluginFinderURL[] =
44 "http://dl.google.com/chrome/plugins/plugins2.xml"; 45 "http://dl.google.com/chrome/plugins/plugins2.xml";
45 46
46 47
47 // The PluginDownloadUrlHelper is used to handle one download URL request 48 // The PluginDownloadUrlHelper is used to handle one download URL request
48 // from the plugin. Each download request is handled by a new instance 49 // from the plugin. Each download request is handled by a new instance
49 // of this class. 50 // of this class.
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 } 740 }
740 741
741 void PluginProcessHost::OnDestroyWindow(HWND window) { 742 void PluginProcessHost::OnDestroyWindow(HWND window) {
742 PluginService::GetInstance()->main_message_loop()->PostTask( 743 PluginService::GetInstance()->main_message_loop()->PostTask(
743 FROM_HERE, new DestroyWindowTask(window)); 744 FROM_HERE, new DestroyWindowTask(window));
744 } 745 }
745 746
746 void PluginProcessHost::Shutdown() { 747 void PluginProcessHost::Shutdown() {
747 Send(new PluginProcessMsg_BrowserShutdown); 748 Send(new PluginProcessMsg_BrowserShutdown);
748 } 749 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698