clang/win/asan: Remove /fallback and enable warnings-as-errors.
[chromium-blink-merge.git] / ios / web / public / test / test_browser_state.h
blob841e191650000c747ad04c7512be0e05eb32e011
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
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_
6 #define IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_
8 #include "base/memory/ref_counted.h"
9 #include "ios/web/public/browser_state.h"
11 namespace web {
12 class TestBrowserState : public BrowserState {
13 public:
14 TestBrowserState();
15 ~TestBrowserState() override;
17 // BrowserState:
18 bool IsOffTheRecord() const override;
19 base::FilePath GetStatePath() const override;
20 net::URLRequestContextGetter* GetRequestContext() override;
22 private:
23 scoped_refptr<net::URLRequestContextGetter> request_context_;
25 } // namespace web
27 #endif // IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_