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

Side by Side Diff: content/browser/gamepad/gamepad_service_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
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 "base/macros.h"
5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
6 #include "base/run_loop.h" 7 #include "base/run_loop.h"
7 #include "content/browser/gamepad/gamepad_consumer.h" 8 #include "content/browser/gamepad/gamepad_consumer.h"
8 #include "content/browser/gamepad/gamepad_service.h" 9 #include "content/browser/gamepad/gamepad_service.h"
9 #include "content/browser/gamepad/gamepad_test_helpers.h" 10 #include "content/browser/gamepad/gamepad_test_helpers.h"
10 #include "content/public/test/test_browser_thread_bundle.h" 11 #include "content/public/test/test_browser_thread_bundle.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace content { 14 namespace content {
14 15
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 WaitForData(); 122 WaitForData();
122 EXPECT_EQ(0, GetConnectedCounter()); 123 EXPECT_EQ(0, GetConnectedCounter());
123 EXPECT_EQ(kNumberOfGamepads, GetDisconnectedCounter()); 124 EXPECT_EQ(kNumberOfGamepads, GetDisconnectedCounter());
124 125
125 WaitForData(); 126 WaitForData();
126 EXPECT_EQ(0, GetConnectedCounter()); 127 EXPECT_EQ(0, GetConnectedCounter());
127 EXPECT_EQ(0, GetDisconnectedCounter()); 128 EXPECT_EQ(0, GetDisconnectedCounter());
128 } 129 }
129 130
130 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_service.h ('k') | content/browser/gamepad/gamepad_standard_mappings_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698