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

Side by Side Diff: content/browser/gamepad/gamepad_provider_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/browser/gamepad/gamepad_provider.cc ('k') | content/browser/gamepad/gamepad_service.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) 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 "base/macros.h"
5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
6 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "build/build_config.h"
7 #include "content/browser/gamepad/gamepad_data_fetcher.h" 9 #include "content/browser/gamepad/gamepad_data_fetcher.h"
8 #include "content/browser/gamepad/gamepad_provider.h" 10 #include "content/browser/gamepad/gamepad_provider.h"
9 #include "content/browser/gamepad/gamepad_test_helpers.h" 11 #include "content/browser/gamepad/gamepad_test_helpers.h"
10 #include "content/common/gamepad_hardware_buffer.h" 12 #include "content/common/gamepad_hardware_buffer.h"
11 #include "content/common/gamepad_messages.h" 13 #include "content/common/gamepad_messages.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 15
14 namespace content { 16 namespace content {
15 17
16 namespace { 18 namespace {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 mock_data_fetcher_->WaitForDataReadAndCallbacksIssued(); 151 mock_data_fetcher_->WaitForDataReadAndCallbacksIssued();
150 152
151 // It should have issued our callback. 153 // It should have issued our callback.
152 message_loop().RunUntilIdle(); 154 message_loop().RunUntilIdle();
153 EXPECT_TRUE(listener.has_user_gesture()); 155 EXPECT_TRUE(listener.has_user_gesture());
154 } 156 }
155 157
156 } // namespace 158 } // namespace
157 159
158 } // namespace content 160 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_provider.cc ('k') | content/browser/gamepad/gamepad_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698