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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py

Issue 2682833002: Remove unused class MockBrowser in webkitpy/common/net/web_mock.py. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py
index 6e75ab2fde60a884aa0c17cf5feece9dbd923dee..e20fe9c7cd62b52662496c0a92c8606565737517 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/web_mock.py
@@ -40,20 +40,3 @@ class MockWeb(object):
if url in self.urls:
return self.urls[url]
return "MOCK Web result, convert 404 to None=%s" % return_none_on_404
-
-
-# FIXME: Classes which are using Browser probably want to use Web instead.
-class MockBrowser(object):
- params = {}
-
- def open(self, url):
- pass
-
- def select_form(self, name):
- pass
-
- def __setitem__(self, key, value):
- self.params[key] = value
-
- def submit(self):
- return StringIO.StringIO()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698