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

Unified Diff: ios/web/public/test/test_browser_state.h

Issue 2614443004: [ios] Moved all web mocks to ios/web/public/test/fakes. (Closed)
Patch Set: Moved test_redirect_observer back Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/test/fakes/test_web_view_content_view.mm ('k') | ios/web/public/test/test_browser_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/test_browser_state.h
diff --git a/ios/web/public/test/test_browser_state.h b/ios/web/public/test/test_browser_state.h
deleted file mode 100644
index 8935041de19940e60d1514865e8a3c201865dc9a..0000000000000000000000000000000000000000
--- a/ios/web/public/test/test_browser_state.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_
-#define IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_
-
-#include "base/memory/ref_counted.h"
-#include "ios/web/public/browser_state.h"
-
-namespace web {
-class TestBrowserState : public BrowserState {
- public:
- TestBrowserState();
- ~TestBrowserState() override;
-
- // BrowserState:
- bool IsOffTheRecord() const override;
- base::FilePath GetStatePath() const override;
- net::URLRequestContextGetter* GetRequestContext() override;
-
- // Makes |IsOffTheRecord| return the given flag value.
- void SetOffTheRecord(bool flag);
-
- private:
- scoped_refptr<net::URLRequestContextGetter> request_context_;
- bool is_off_the_record_;
-};
-} // namespace web
-
-#endif // IOS_WEB_PUBLIC_TEST_TEST_BROWSER_STATE_H_
« no previous file with comments | « ios/web/public/test/fakes/test_web_view_content_view.mm ('k') | ios/web/public/test/test_browser_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698