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

Side by Side Diff: content/renderer/gpu/queue_message_swap_promise_unittest.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer/gpu/queue_message_swap_promise.h" 5 #include "content/renderer/gpu/queue_message_swap_promise.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
11 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
10 #include "cc/output/swap_promise.h" 13 #include "cc/output/swap_promise.h"
11 #include "content/renderer/gpu/frame_swap_message_queue.h" 14 #include "content/renderer/gpu/frame_swap_message_queue.h"
12 #include "content/renderer/gpu/render_widget_compositor.h" 15 #include "content/renderer/gpu/render_widget_compositor.h"
13 #include "content/renderer/render_widget.h" 16 #include "content/renderer/render_widget.h"
14 #include "content/test/mock_render_process.h" 17 #include "content/test/mock_render_process.h"
15 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
16 #include "ipc/ipc_sync_message_filter.h" 19 #include "ipc/ipc_sync_message_filter.h"
17 #include "ipc/ipc_test_sink.h" 20 #include "ipc/ipc_test_sink.h"
18 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 TEST_F(QueueMessageSwapPromiseTest, VisualStateSwapPromiseDidNotSwapSwapFails) { 315 TEST_F(QueueMessageSwapPromiseTest, VisualStateSwapPromiseDidNotSwapSwapFails) {
313 VisualStateSwapPromiseDidNotSwap(cc::SwapPromise::SWAP_FAILS); 316 VisualStateSwapPromiseDidNotSwap(cc::SwapPromise::SWAP_FAILS);
314 } 317 }
315 318
316 TEST_F(QueueMessageSwapPromiseTest, 319 TEST_F(QueueMessageSwapPromiseTest,
317 VisualStateSwapPromiseDidNotSwapActivationFails) { 320 VisualStateSwapPromiseDidNotSwapActivationFails) {
318 VisualStateSwapPromiseDidNotSwap(cc::SwapPromise::ACTIVATION_FAILS); 321 VisualStateSwapPromiseDidNotSwap(cc::SwapPromise::ACTIVATION_FAILS);
319 } 322 }
320 323
321 } // namespace content 324 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/queue_message_swap_promise.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698