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/common/gpu/gpu_command_buffer_stub.cc

Issue 1784693002: Remove sandbox_init.h includes in content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/gpu/gpu_command_buffer_stub.h" 5 #include "content/common/gpu/gpu_command_buffer_stub.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 26 matching lines...) Expand all
37 #include "gpu/command_buffer/service/query_manager.h" 37 #include "gpu/command_buffer/service/query_manager.h"
38 #include "gpu/command_buffer/service/sync_point_manager.h" 38 #include "gpu/command_buffer/service/sync_point_manager.h"
39 #include "gpu/command_buffer/service/transfer_buffer_manager.h" 39 #include "gpu/command_buffer/service/transfer_buffer_manager.h"
40 #include "gpu/command_buffer/service/valuebuffer_manager.h" 40 #include "gpu/command_buffer/service/valuebuffer_manager.h"
41 #include "ui/gl/gl_bindings.h" 41 #include "ui/gl/gl_bindings.h"
42 #include "ui/gl/gl_image.h" 42 #include "ui/gl/gl_image.h"
43 #include "ui/gl/gl_switches.h" 43 #include "ui/gl/gl_switches.h"
44 44
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 #include "base/win/win_util.h" 46 #include "base/win/win_util.h"
47 #include "content/public/common/sandbox_init.h"
48 #endif 47 #endif
49 48
50 #if defined(OS_ANDROID) 49 #if defined(OS_ANDROID)
51 #include "content/common/gpu/stream_texture_android.h" 50 #include "content/common/gpu/stream_texture_android.h"
52 #endif 51 #endif
53 52
54 namespace content { 53 namespace content {
55 struct WaitForCommandState { 54 struct WaitForCommandState {
56 WaitForCommandState(int32_t start, int32_t end, IPC::Message* reply) 55 WaitForCommandState(int32_t start, int32_t end, IPC::Message* reply)
57 : start(start), end(end), reply(reply) {} 56 : start(start), end(end), reply(reply) {}
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 result)); 1130 result));
1132 } 1131 }
1133 1132
1134 void GpuCommandBufferStub::SendUpdateVSyncParameters(base::TimeTicks timebase, 1133 void GpuCommandBufferStub::SendUpdateVSyncParameters(base::TimeTicks timebase,
1135 base::TimeDelta interval) { 1134 base::TimeDelta interval) {
1136 Send(new GpuCommandBufferMsg_UpdateVSyncParameters(route_id_, timebase, 1135 Send(new GpuCommandBufferMsg_UpdateVSyncParameters(route_id_, timebase,
1137 interval)); 1136 interval));
1138 } 1137 }
1139 1138
1140 } // namespace content 1139 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698