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

Side by Side Diff: remoting/test/mock_access_token_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 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/leaky_bucket.h ('k') | remoting/test/protocol_perftest.cc » ('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_MOCK_ACCESS_TOKEN_FETCHER_H_ 5 #ifndef REMOTING_TEST_MOCK_ACCESS_TOKEN_FETCHER_H_
6 #define REMOTING_TEST_MOCK_ACCESS_TOKEN_FETCHER_H_ 6 #define REMOTING_TEST_MOCK_ACCESS_TOKEN_FETCHER_H_
7 7
8 #include "remoting/test/access_token_fetcher.h"
9
8 #include <string> 10 #include <string>
9 11
10 #include "remoting/test/access_token_fetcher.h" 12 #include "base/macros.h"
11
12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.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 // Used for testing classes which rely on the AccessTokenFetcher and want to 19 // Used for testing classes which rely on the AccessTokenFetcher and want to
19 // simulate success and failure scenarios without using the actual class and 20 // simulate success and failure scenarios without using the actual class and
20 // network connection. 21 // network connection.
21 class MockAccessTokenFetcher : public AccessTokenFetcher { 22 class MockAccessTokenFetcher : public AccessTokenFetcher {
(...skipping 17 matching lines...) Expand all
39 private: 40 private:
40 scoped_ptr<AccessTokenFetcher> internal_access_token_fetcher_; 41 scoped_ptr<AccessTokenFetcher> internal_access_token_fetcher_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(MockAccessTokenFetcher); 43 DISALLOW_COPY_AND_ASSIGN(MockAccessTokenFetcher);
43 }; 44 };
44 45
45 } // namespace test 46 } // namespace test
46 } // namespace remoting 47 } // namespace remoting
47 48
48 #endif // REMOTING_TEST_MOCK_ACCESS_TOKEN_FETCHER_H_ 49 #endif // REMOTING_TEST_MOCK_ACCESS_TOKEN_FETCHER_H_
OLDNEW
« no previous file with comments | « remoting/test/leaky_bucket.h ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698