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

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

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (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
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" 5 #include "chrome/gpu/gpu_channel.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/lock.h"
12 #include "base/process_util.h" 13 #include "base/process_util.h"
13 #include "base/string_util.h" 14 #include "base/string_util.h"
14 #include "chrome/common/child_process.h" 15 #include "chrome/common/child_process.h"
15 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
16 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
17 #include "chrome/common/gpu_messages.h" 18 #include "chrome/common/gpu_messages.h"
18 #include "chrome/gpu/gpu_thread.h" 19 #include "chrome/gpu/gpu_thread.h"
19 #include "chrome/gpu/gpu_video_service.h" 20 #include "chrome/gpu/gpu_video_service.h"
20 21
21 #if defined(OS_POSIX) 22 #if defined(OS_POSIX)
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 channel_name, IPC::Channel::MODE_SERVER, this, NULL, 258 channel_name, IPC::Channel::MODE_SERVER, this, NULL,
258 ChildProcess::current()->io_message_loop(), false, 259 ChildProcess::current()->io_message_loop(), false,
259 ChildProcess::current()->GetShutDownEvent())); 260 ChildProcess::current()->GetShutDownEvent()));
260 261
261 return true; 262 return true;
262 } 263 }
263 264
264 std::string GpuChannel::GetChannelName() { 265 std::string GpuChannel::GetChannelName() {
265 return StringPrintf("%d.r%d", base::GetCurrentProcId(), renderer_id_); 266 return StringPrintf("%d.r%d", base::GetCurrentProcId(), renderer_id_);
266 } 267 }
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_install_job_monitor.cc ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698