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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/bug_report_util.cc ('k') | chrome/browser/chrome_plugin_unittest.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/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.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 "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
20 #include "chrome/browser/browser_list.h" 20 #include "chrome/browser/browser_list.h"
21 #include "chrome/browser/browser_thread.h" 21 #include "chrome/browser/browser_thread.h"
22 #include "chrome/browser/chrome_plugin_browsing_context.h" 22 #include "chrome/browser/chrome_plugin_browsing_context.h"
23 #include "chrome/browser/dom_ui/html_dialog_ui.h" 23 #include "chrome/browser/dom_ui/html_dialog_ui.h"
24 #include "chrome/browser/gears_integration.h" 24 #include "chrome/browser/gears_integration.h"
25 #include "chrome/browser/plugin_process_host.h" 25 #include "chrome/browser/plugin_process_host.h"
26 #include "chrome/browser/plugin_service.h" 26 #include "chrome/browser/plugin_service.h"
27 #include "chrome/browser/profile.h" 27 #include "chrome/browser/profiles/profile.h"
28 #include "chrome/browser/renderer_host/render_process_host.h" 28 #include "chrome/browser/renderer_host/render_process_host.h"
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/net/url_request_context_getter.h" 36 #include "chrome/common/net/url_request_context_getter.h"
37 #include "chrome/common/net/url_request_intercept_job.h" 37 #include "chrome/common/net/url_request_intercept_job.h"
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 CPBrowsingContext context) { 825 CPBrowsingContext context) {
826 // Sadly if we try and pass context through, we seem to break cl's little 826 // Sadly if we try and pass context through, we seem to break cl's little
827 // brain trying to compile the Tuple3 ctor. This cast works. 827 // brain trying to compile the Tuple3 ctor. This cast works.
828 int32 context_as_int32 = static_cast<int32>(context); 828 int32 context_as_int32 = static_cast<int32>(context);
829 // Plugins can only be accessed on the IO thread. 829 // Plugins can only be accessed on the IO thread.
830 BrowserThread::PostTask( 830 BrowserThread::PostTask(
831 BrowserThread::IO, FROM_HERE, 831 BrowserThread::IO, FROM_HERE,
832 NewRunnableFunction(PluginCommandHandler::HandleCommand, 832 NewRunnableFunction(PluginCommandHandler::HandleCommand,
833 command, data, context_as_int32)); 833 command, data, context_as_int32));
834 } 834 }
OLDNEW
« no previous file with comments | « chrome/browser/bug_report_util.cc ('k') | chrome/browser/chrome_plugin_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698