summaryrefslogtreecommitdiffstats
path: root/webkit/mocks/mock_webframe.cc
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 17:01:41 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 17:01:41 +0000
commitc29bdcf3f973fcc76fec6b9038a7891e472b7f2f (patch)
tree2db64bd9504bcf94942ed659d7c6835b4741f6f6 /webkit/mocks/mock_webframe.cc
parent867e46d0a91880fdf7fbc5649f9028b73c2886ed (diff)
downloadchromium_src-c29bdcf3f973fcc76fec6b9038a7891e472b7f2f.zip
chromium_src-c29bdcf3f973fcc76fec6b9038a7891e472b7f2f.tar.gz
chromium_src-c29bdcf3f973fcc76fec6b9038a7891e472b7f2f.tar.bz2
Prepare mock WebFrame for change in WebKit::WebFrame interface, by adding CreateAssociatedURLLoader overload that takes WebURLLoaderOptions.
Review URL: http://codereview.chromium.org/6725033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/mocks/mock_webframe.cc')
-rw-r--r--webkit/mocks/mock_webframe.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc
index 25b236c..44cc690 100644
--- a/webkit/mocks/mock_webframe.cc
+++ b/webkit/mocks/mock_webframe.cc
@@ -217,10 +217,16 @@ bool MockWebFrame::isViewSourceModeEnabled() const {
return false;
}
+// TODO(bbudge) remove once WebKit change lands.
WebURLLoader* MockWebFrame::createAssociatedURLLoader() {
return NULL;
}
+WebURLLoader* MockWebFrame::createAssociatedURLLoader(
+ const WebURLLoaderOptions& options) {
+ return NULL;
+}
+
void MockWebFrame::commitDocumentData(const char* data, size_t length) {}
unsigned MockWebFrame::unloadListenerCount() const {