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

Side by Side Diff: remoting/test/connection_time_observer.h

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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/chromoting_test_fixture.h ('k') | remoting/test/host_list_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 #ifndef REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_ 5 #ifndef REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_
6 #define REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_ 6 #define REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "remoting/test/remote_connection_observer.h" 11 #include "remoting/test/remote_connection_observer.h"
12 12
13 namespace base { 13 namespace base {
14 class TimeDelta; 14 class TimeDelta;
15 class Timer;
16 } 15 }
17 16
18 namespace remoting { 17 namespace remoting {
19 namespace test { 18 namespace test {
20 19
21 // Observes and saves the times when a chromoting client changes its state. It 20 // Observes and saves the times when a chromoting client changes its state. It
22 // allows for tests to access latency times between the different states the 21 // allows for tests to access latency times between the different states the
23 // client transitioned through. 22 // client transitioned through.
24 class ConnectionTimeObserver 23 class ConnectionTimeObserver
25 : public RemoteConnectionObserver { 24 : public RemoteConnectionObserver {
(...skipping 27 matching lines...) Expand all
53 std::map<protocol::ConnectionToHost::State, base::TimeTicks> 52 std::map<protocol::ConnectionToHost::State, base::TimeTicks>
54 transition_times_map_; 53 transition_times_map_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(ConnectionTimeObserver); 55 DISALLOW_COPY_AND_ASSIGN(ConnectionTimeObserver);
57 }; 56 };
58 57
59 } // namespace test 58 } // namespace test
60 } // namespace remoting 59 } // namespace remoting
61 60
62 #endif // REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_ 61 #endif // REMOTING_TEST_CONNECTION_TIME_OBSERVER_H_
OLDNEW
« no previous file with comments | « remoting/test/chromoting_test_fixture.h ('k') | remoting/test/host_list_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698