| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ |
| 6 #define IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ | 6 #define IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ |
| 7 | 7 |
| 8 #include "ios/web/public/browser_state.h" | 8 #include "ios/web/public/browser_state.h" |
| 9 | 9 |
| 10 namespace web { | 10 namespace web { |
| 11 class TestBrowserState : public BrowserState { | 11 class TestBrowserState : public BrowserState { |
| 12 public: | 12 public: |
| 13 TestBrowserState(); | 13 TestBrowserState(); |
| 14 ~TestBrowserState() override; | 14 ~TestBrowserState() override; |
| 15 | 15 |
| 16 // BrowserState: | 16 // BrowserState: |
| 17 bool IsOffTheRecord() const override; | 17 bool IsOffTheRecord() const override; |
| 18 base::FilePath GetPath() const override; | 18 base::FilePath GetStatePath() const override; |
| 19 net::URLRequestContextGetter* GetRequestContext() override; | 19 net::URLRequestContextGetter* GetRequestContext() override; |
| 20 }; | 20 }; |
| 21 } // namespace web | 21 } // namespace web |
| 22 | 22 |
| 23 #endif // IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ | 23 #endif // IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_ |
| OLD | NEW |