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

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

Issue 20072: Finish taking out render_messages.h include from other headers. (Closed) Base URL: svn://chrome-svn/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/chrome_plugin_host.h" 5 #include "chrome/browser/chrome_plugin_host.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/common/chrome_constants.h" 29 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_counters.h" 30 #include "chrome/common/chrome_counters.h"
31 #include "chrome/common/chrome_paths.h" 31 #include "chrome/common/chrome_paths.h"
32 #include "chrome/common/chrome_plugin_lib.h" 32 #include "chrome/common/chrome_plugin_lib.h"
33 #include "chrome/common/chrome_plugin_util.h" 33 #include "chrome/common/chrome_plugin_util.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/gears_api.h" 35 #include "chrome/common/gears_api.h"
36 #include "chrome/common/notification_service.h" 36 #include "chrome/common/notification_service.h"
37 #include "chrome/common/net/url_request_intercept_job.h" 37 #include "chrome/common/net/url_request_intercept_job.h"
38 #include "chrome/common/plugin_messages.h" 38 #include "chrome/common/plugin_messages.h"
39 #include "chrome/common/render_messages.h"
39 40
40 #include "base/gfx/png_encoder.h" 41 #include "base/gfx/png_encoder.h"
41 #include "base/logging.h" 42 #include "base/logging.h"
42 #include "base/string_util.h" 43 #include "base/string_util.h"
43 #include "googleurl/src/gurl.h" 44 #include "googleurl/src/gurl.h"
44 #include "net/base/base64.h" 45 #include "net/base/base64.h"
45 #include "skia/include/SkBitmap.h" 46 #include "skia/include/SkBitmap.h"
46 47
47 using base::TimeDelta; 48 using base::TimeDelta;
48 49
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 void CPHandleCommand(int command, CPCommandInterface* data, 796 void CPHandleCommand(int command, CPCommandInterface* data,
796 CPBrowsingContext context) { 797 CPBrowsingContext context) {
797 // Sadly if we try and pass context through, we seem to break cl's little 798 // Sadly if we try and pass context through, we seem to break cl's little
798 // brain trying to compile the Tuple3 ctor. This cast works. 799 // brain trying to compile the Tuple3 ctor. This cast works.
799 int32 context_as_int32 = static_cast<int32>(context); 800 int32 context_as_int32 = static_cast<int32>(context);
800 // Plugins can only be accessed on the IO thread. 801 // Plugins can only be accessed on the IO thread.
801 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE, 802 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE,
802 NewRunnableFunction(PluginCommandHandler::HandleCommand, 803 NewRunnableFunction(PluginCommandHandler::HandleCommand,
803 command, data, context_as_int32)); 804 command, data, context_as_int32));
804 } 805 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698