| OLD | NEW |
| 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_REFRESH_TOKEN_STORE_H_ | 5 #ifndef REMOTING_TEST_FAKE_REFRESH_TOKEN_STORE_H_ |
| 6 #define REMOTING_TEST_FAKE_REFRESH_TOKEN_STORE_H_ | 6 #define REMOTING_TEST_FAKE_REFRESH_TOKEN_STORE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "remoting/test/refresh_token_store.h" | 9 #include "remoting/test/refresh_token_store.h" |
| 9 | 10 |
| 10 namespace remoting { | 11 namespace remoting { |
| 11 namespace test { | 12 namespace test { |
| 12 | 13 |
| 13 // Stubs out the file API and returns fake data so we can remove | 14 // Stubs out the file API and returns fake data so we can remove |
| 14 // file system dependencies when testing the TestDriverEnvironment. | 15 // file system dependencies when testing the TestDriverEnvironment. |
| 15 class FakeRefreshTokenStore : public RefreshTokenStore { | 16 class FakeRefreshTokenStore : public RefreshTokenStore { |
| 16 public: | 17 public: |
| 17 FakeRefreshTokenStore(); | 18 FakeRefreshTokenStore(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 46 bool refresh_token_write_attempted_; | 47 bool refresh_token_write_attempted_; |
| 47 std::string stored_refresh_token_value_; | 48 std::string stored_refresh_token_value_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(FakeRefreshTokenStore); | 50 DISALLOW_COPY_AND_ASSIGN(FakeRefreshTokenStore); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace test | 53 } // namespace test |
| 53 } // namespace remoting | 54 } // namespace remoting |
| 54 | 55 |
| 55 #endif // REMOTING_TEST_FAKE_REFRESH_TOKEN_STORE_H_ | 56 #endif // REMOTING_TEST_FAKE_REFRESH_TOKEN_STORE_H_ |
| OLD | NEW |