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

Unified Diff: ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h

Issue 2812623002: Revert of [ios] Move WebStateList to ios/chrome/browser/web_state_list. (Closed)
Patch Set: Created 3 years, 8 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
Index: ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h
diff --git a/ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h b/ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..8bbc021647aed12d37419c9ed90377d15c5bb1a7
--- /dev/null
+++ b/ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h
@@ -0,0 +1,25 @@
+// Copyright 2017 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_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
+#define IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
+
+#include "base/macros.h"
+#import "ios/shared/chrome/browser/tabs/web_state_list_delegate.h"
+
+// Fake WebStateList delegate for tests.
+class FakeWebStateListDelegate : public WebStateListDelegate {
+ public:
+ FakeWebStateListDelegate();
+ ~FakeWebStateListDelegate() override;
+
+ // WebStateListDelegate implementation.
+ void WillAddWebState(web::WebState* web_state) override;
+ void WebStateDetached(web::WebState* web_state) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(FakeWebStateListDelegate);
+};
+
+#endif // IOS_SHARED_CHROME_BROWSER_TABS_FAKE_WEB_STATE_LIST_DELEGATE_H_
« no previous file with comments | « ios/shared/chrome/browser/tabs/BUILD.gn ('k') | ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698