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

Side by Side Diff: remoting/test/connection_time_observer_unittest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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
« no previous file with comments | « remoting/test/connection_time_observer.h ('k') | remoting/test/fake_access_token_fetcher.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/test/connection_time_observer.h" 5 #include "remoting/test/connection_time_observer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace remoting { 16 namespace remoting {
16 namespace test { 17 namespace test {
17 18
18 class ConnectionTimeObserverTest : public ::testing::Test { 19 class ConnectionTimeObserverTest : public ::testing::Test {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 connection_time_observer_->ConnectionStateChanged( 168 connection_time_observer_->ConnectionStateChanged(
168 protocol::ConnectionToHost::State::CONNECTED, protocol::ErrorCode::OK); 169 protocol::ConnectionToHost::State::CONNECTED, protocol::ErrorCode::OK);
169 170
170 EXPECT_EQ(connection_time_observer_->GetStateTransitionTime( 171 EXPECT_EQ(connection_time_observer_->GetStateTransitionTime(
171 protocol::ConnectionToHost::State::INITIALIZING, 172 protocol::ConnectionToHost::State::INITIALIZING,
172 protocol::ConnectionToHost::State::CONNECTED), first_time_delta); 173 protocol::ConnectionToHost::State::CONNECTED), first_time_delta);
173 } 174 }
174 175
175 } // namespace test 176 } // namespace test
176 } // namespace remoting 177 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/connection_time_observer.h ('k') | remoting/test/fake_access_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698