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

Side by Side Diff: ios/web/public/test/test_browser_state.h

Issue 964403002: Upstream BrowserState::GetStatePath() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client code Created 5 years, 9 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 | « ios/web/public/browser_state.h ('k') | ios/web/public/test/test_browser_state.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 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_
OLDNEW
« no previous file with comments | « ios/web/public/browser_state.h ('k') | ios/web/public/test/test_browser_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698