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

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

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 5 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/fake_refresh_token_store.h ('k') | remoting/test/fake_socket_factory.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_FAKE_REMOTE_HOST_INFO_FETCHER_H_ 5 #ifndef REMOTING_TEST_FAKE_REMOTE_HOST_INFO_FETCHER_H_
6 #define REMOTING_TEST_FAKE_REMOTE_HOST_INFO_FETCHER_H_ 6 #define REMOTING_TEST_FAKE_REMOTE_HOST_INFO_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "remoting/test/remote_host_info_fetcher.h" 11 #include "remoting/test/remote_host_info_fetcher.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 namespace test { 14 namespace test {
14 15
15 // Used for testing classes which rely on the RemoteHostInfoFetcher and want to 16 // Used for testing classes which rely on the RemoteHostInfoFetcher and want to
16 // simulate success and failure scenarios without using the actual class and 17 // simulate success and failure scenarios without using the actual class and
17 // network connection. 18 // network connection.
18 class FakeRemoteHostInfoFetcher : public RemoteHostInfoFetcher { 19 class FakeRemoteHostInfoFetcher : public RemoteHostInfoFetcher {
19 public: 20 public:
(...skipping 14 matching lines...) Expand all
34 // True if RetrieveRemoteHostInfo() should fail. 35 // True if RetrieveRemoteHostInfo() should fail.
35 bool fail_retrieve_remote_host_info_; 36 bool fail_retrieve_remote_host_info_;
36 37
37 DISALLOW_COPY_AND_ASSIGN(FakeRemoteHostInfoFetcher); 38 DISALLOW_COPY_AND_ASSIGN(FakeRemoteHostInfoFetcher);
38 }; 39 };
39 40
40 } // namespace test 41 } // namespace test
41 } // namespace remoting 42 } // namespace remoting
42 43
43 #endif // REMOTING_TEST_FAKE_REMOTE_HOST_INFO_FETCHER_H_ 44 #endif // REMOTING_TEST_FAKE_REMOTE_HOST_INFO_FETCHER_H_
OLDNEW
« no previous file with comments | « remoting/test/fake_refresh_token_store.h ('k') | remoting/test/fake_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698