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

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

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/browser_signin.cc ('k') | chrome/browser/chromeos/login/login_html_dialog.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/perftimer.h" 18 #include "base/perftimer.h"
19 #include "base/singleton.h" 19 #include "base/singleton.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/utf_string_conversions.h" 21 #include "base/utf_string_conversions.h"
22 #include "chrome/browser/browser_list.h" 22 #include "chrome/browser/browser_list.h"
23 #include "chrome/browser/browser_thread.h" 23 #include "chrome/browser/browser_thread.h"
24 #include "chrome/browser/chrome_plugin_browsing_context.h" 24 #include "chrome/browser/chrome_plugin_browsing_context.h"
25 #include "chrome/browser/dom_ui/html_dialog_ui.h"
26 #include "chrome/browser/gears_integration.h" 25 #include "chrome/browser/gears_integration.h"
27 #include "chrome/browser/plugin_process_host.h" 26 #include "chrome/browser/plugin_process_host.h"
28 #include "chrome/browser/plugin_service.h" 27 #include "chrome/browser/plugin_service.h"
29 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/renderer_host/render_process_host.h" 29 #include "chrome/browser/renderer_host/render_process_host.h"
30 #include "chrome/browser/webui/html_dialog_ui.h"
31 #include "chrome/common/chrome_constants.h" 31 #include "chrome/common/chrome_constants.h"
32 #include "chrome/common/chrome_counters.h" 32 #include "chrome/common/chrome_counters.h"
33 #include "chrome/common/chrome_paths.h" 33 #include "chrome/common/chrome_paths.h"
34 #include "chrome/common/chrome_plugin_lib.h" 34 #include "chrome/common/chrome_plugin_lib.h"
35 #include "chrome/common/chrome_plugin_util.h" 35 #include "chrome/common/chrome_plugin_util.h"
36 #include "chrome/common/gears_api.h" 36 #include "chrome/common/gears_api.h"
37 #include "chrome/common/net/url_request_context_getter.h" 37 #include "chrome/common/net/url_request_context_getter.h"
38 #include "chrome/common/net/url_request_intercept_job.h" 38 #include "chrome/common/net/url_request_intercept_job.h"
39 #include "chrome/common/notification_service.h" 39 #include "chrome/common/notification_service.h"
40 #include "chrome/common/plugin_messages.h" 40 #include "chrome/common/plugin_messages.h"
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 CPBrowsingContext context) { 833 CPBrowsingContext context) {
834 // Sadly if we try and pass context through, we seem to break cl's little 834 // Sadly if we try and pass context through, we seem to break cl's little
835 // brain trying to compile the Tuple3 ctor. This cast works. 835 // brain trying to compile the Tuple3 ctor. This cast works.
836 int32 context_as_int32 = static_cast<int32>(context); 836 int32 context_as_int32 = static_cast<int32>(context);
837 // Plugins can only be accessed on the IO thread. 837 // Plugins can only be accessed on the IO thread.
838 BrowserThread::PostTask( 838 BrowserThread::PostTask(
839 BrowserThread::IO, FROM_HERE, 839 BrowserThread::IO, FROM_HERE,
840 NewRunnableFunction(PluginCommandHandler::HandleCommand, 840 NewRunnableFunction(PluginCommandHandler::HandleCommand,
841 command, data, context_as_int32)); 841 command, data, context_as_int32));
842 } 842 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_signin.cc ('k') | chrome/browser/chromeos/login/login_html_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698