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

Side by Side Diff: content/browser/plugin_process_host.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 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 "content/browser/plugin_process_host.h" 5 #include "content/browser/plugin_process_host.h"
6 6
7 #if defined(OS_WIN) && !defined(USE_AURA) 7 #if defined(OS_WIN) && !defined(USE_AURA)
8 #include <windows.h> 8 #include <windows.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <utility> // for pair<> 10 #include <utility> // for pair<>
(...skipping 15 matching lines...) Expand all
26 #include "content/common/plugin_messages.h" 26 #include "content/common/plugin_messages.h"
27 #include "content/common/resource_messages.h" 27 #include "content/common/resource_messages.h"
28 #include "content/public/browser/browser_thread.h" 28 #include "content/public/browser/browser_thread.h"
29 #include "content/public/browser/content_browser_client.h" 29 #include "content/public/browser/content_browser_client.h"
30 #include "content/public/common/content_switches.h" 30 #include "content/public/common/content_switches.h"
31 #include "ipc/ipc_switches.h" 31 #include "ipc/ipc_switches.h"
32 #include "ui/base/ui_base_switches.h" 32 #include "ui/base/ui_base_switches.h"
33 #include "ui/gfx/gl/gl_switches.h" 33 #include "ui/gfx/gl/gl_switches.h"
34 #include "ui/gfx/native_widget_types.h" 34 #include "ui/gfx/native_widget_types.h"
35 35
36 using content::BrowserThread;
37
36 #if defined(USE_X11) 38 #if defined(USE_X11)
37 #include "ui/gfx/gtk_native_view_id_manager.h" 39 #include "ui/gfx/gtk_native_view_id_manager.h"
38 #endif 40 #endif
39 41
40 #if defined(OS_MACOSX) 42 #if defined(OS_MACOSX)
41 #include "base/mac/mac_util.h" 43 #include "base/mac/mac_util.h"
42 #include "content/common/plugin_carbon_interpose_constants_mac.h" 44 #include "content/common/plugin_carbon_interpose_constants_mac.h"
43 #include "ui/gfx/rect.h" 45 #include "ui/gfx/rect.h"
44 #endif 46 #endif
45 47
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 } 415 }
414 416
415 void PluginProcessHost::OnChannelCreated( 417 void PluginProcessHost::OnChannelCreated(
416 const IPC::ChannelHandle& channel_handle) { 418 const IPC::ChannelHandle& channel_handle) {
417 Client* client = sent_requests_.front(); 419 Client* client = sent_requests_.front();
418 420
419 if (client) 421 if (client)
420 client->OnChannelOpened(channel_handle); 422 client->OnChannelOpened(channel_handle);
421 sent_requests_.pop_front(); 423 sent_requests_.pop_front();
422 } 424 }
OLDNEW
« no previous file with comments | « content/browser/plugin_loader_posix_unittest.cc ('k') | content/browser/plugin_process_host_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698