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

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

Issue 3358014: Cleanup some duplicated includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/histogram.h" 13 #include "base/histogram.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/perftimer.h" 16 #include "base/perftimer.h"
17 #include "base/singleton.h" 17 #include "base/singleton.h"
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
20 #include "chrome/browser/chrome_thread.h"
21 #include "chrome/browser/chrome_plugin_browsing_context.h" 20 #include "chrome/browser/chrome_plugin_browsing_context.h"
22 #include "chrome/browser/chrome_thread.h" 21 #include "chrome/browser/chrome_thread.h"
23 #include "chrome/browser/dom_ui/html_dialog_ui.h" 22 #include "chrome/browser/dom_ui/html_dialog_ui.h"
24 #include "chrome/browser/gears_integration.h" 23 #include "chrome/browser/gears_integration.h"
25 #include "chrome/browser/plugin_process_host.h" 24 #include "chrome/browser/plugin_process_host.h"
26 #include "chrome/browser/plugin_service.h" 25 #include "chrome/browser/plugin_service.h"
27 #include "chrome/browser/profile.h" 26 #include "chrome/browser/profile.h"
28 #include "chrome/browser/renderer_host/render_process_host.h" 27 #include "chrome/browser/renderer_host/render_process_host.h"
29 #include "chrome/common/chrome_constants.h" 28 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_counters.h" 29 #include "chrome/common/chrome_counters.h"
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 CPBrowsingContext context) { 816 CPBrowsingContext context) {
818 // Sadly if we try and pass context through, we seem to break cl's little 817 // Sadly if we try and pass context through, we seem to break cl's little
819 // brain trying to compile the Tuple3 ctor. This cast works. 818 // brain trying to compile the Tuple3 ctor. This cast works.
820 int32 context_as_int32 = static_cast<int32>(context); 819 int32 context_as_int32 = static_cast<int32>(context);
821 // Plugins can only be accessed on the IO thread. 820 // Plugins can only be accessed on the IO thread.
822 ChromeThread::PostTask( 821 ChromeThread::PostTask(
823 ChromeThread::IO, FROM_HERE, 822 ChromeThread::IO, FROM_HERE,
824 NewRunnableFunction(PluginCommandHandler::HandleCommand, 823 NewRunnableFunction(PluginCommandHandler::HandleCommand,
825 command, data, context_as_int32)); 824 command, data, context_as_int32));
826 } 825 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698