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

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

Issue 1544273002: Switch to standard integer types in content/. (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 <string.h>
6
5 #include "base/macros.h" 7 #include "base/macros.h"
6 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
7 #include "base/run_loop.h" 9 #include "base/run_loop.h"
8 #include "content/browser/gamepad/gamepad_consumer.h" 10 #include "content/browser/gamepad/gamepad_consumer.h"
9 #include "content/browser/gamepad/gamepad_service.h" 11 #include "content/browser/gamepad/gamepad_service.h"
10 #include "content/browser/gamepad/gamepad_test_helpers.h" 12 #include "content/browser/gamepad/gamepad_test_helpers.h"
11 #include "content/public/test/test_browser_thread_bundle.h" 13 #include "content/public/test/test_browser_thread_bundle.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 {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 WaitForData(); 124 WaitForData();
123 EXPECT_EQ(0, GetConnectedCounter()); 125 EXPECT_EQ(0, GetConnectedCounter());
124 EXPECT_EQ(kNumberOfGamepads, GetDisconnectedCounter()); 126 EXPECT_EQ(kNumberOfGamepads, GetDisconnectedCounter());
125 127
126 WaitForData(); 128 WaitForData();
127 EXPECT_EQ(0, GetConnectedCounter()); 129 EXPECT_EQ(0, GetConnectedCounter());
128 EXPECT_EQ(0, GetDisconnectedCounter()); 130 EXPECT_EQ(0, GetDisconnectedCounter());
129 } 131 }
130 132
131 } // namespace content 133 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_provider.cc ('k') | content/browser/media/capture/desktop_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698