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

Side by Side Diff: chrome/gpu/gpu_channel.cc

Issue 3010052: FBTF: Remove unneeded headers from base/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/common/deprecated/event_sys-inl.h ('k') | chrome/renderer/media/audio_renderer_impl.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) 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/gpu/gpu_channel.h"
6
5 #if defined(OS_WIN) 7 #if defined(OS_WIN)
6 #include <windows.h> 8 #include <windows.h>
7 #endif 9 #endif
8 10
9 #include "chrome/gpu/gpu_channel.h"
10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/lock.h" 12 #include "base/lock.h"
13 #include "base/process_util.h" 13 #include "base/process_util.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/waitable_event.h"
16 #include "build/build_config.h"
17 #include "chrome/common/child_process.h" 15 #include "chrome/common/child_process.h"
18 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/gpu_messages.h" 18 #include "chrome/common/gpu_messages.h"
21 #include "chrome/gpu/gpu_thread.h" 19 #include "chrome/gpu/gpu_thread.h"
22 20
23 #if defined(OS_POSIX) 21 #if defined(OS_POSIX)
24 #include "ipc/ipc_channel_posix.h" 22 #include "ipc/ipc_channel_posix.h"
25 #endif 23 #endif
26 24
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 channel_.reset(new IPC::SyncChannel( 197 channel_.reset(new IPC::SyncChannel(
200 channel_name, IPC::Channel::MODE_SERVER, this, NULL, 198 channel_name, IPC::Channel::MODE_SERVER, this, NULL,
201 ChildProcess::current()->io_message_loop(), false, 199 ChildProcess::current()->io_message_loop(), false,
202 ChildProcess::current()->GetShutDownEvent())); 200 ChildProcess::current()->GetShutDownEvent()));
203 return true; 201 return true;
204 } 202 }
205 203
206 std::string GpuChannel::GetChannelName() { 204 std::string GpuChannel::GetChannelName() {
207 return StringPrintf("%d.r%d", base::GetCurrentProcId(), renderer_id_); 205 return StringPrintf("%d.r%d", base::GetCurrentProcId(), renderer_id_);
208 } 206 }
OLDNEW
« no previous file with comments | « chrome/common/deprecated/event_sys-inl.h ('k') | chrome/renderer/media/audio_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698