summaryrefslogtreecommitdiffstats
path: root/webkit/glue/mock_resource_loader_bridge.h
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 23:37:50 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 23:37:50 +0000
commit7a6db4024aa668fd49741c4c34965ab674efaac6 (patch)
tree291de61ee2f86da940a5c9c0a67a79d394478a8e /webkit/glue/mock_resource_loader_bridge.h
parente8b3ddfde11a59bc910697090906dd36f0426401 (diff)
downloadchromium_src-7a6db4024aa668fd49741c4c34965ab674efaac6.zip
chromium_src-7a6db4024aa668fd49741c4c34965ab674efaac6.tar.gz
chromium_src-7a6db4024aa668fd49741c4c34965ab674efaac6.tar.bz2
Support sending a sliced file in chromium.
BUG=none TEST=The WebKit Layout test. Review URL: http://codereview.chromium.org/594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/mock_resource_loader_bridge.h')
-rw-r--r--webkit/glue/mock_resource_loader_bridge.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/glue/mock_resource_loader_bridge.h b/webkit/glue/mock_resource_loader_bridge.h
index a3c40ba..7176e04 100644
--- a/webkit/glue/mock_resource_loader_bridge.h
+++ b/webkit/glue/mock_resource_loader_bridge.h
@@ -21,9 +21,11 @@ class MockResourceLoaderBridge : public webkit_glue::ResourceLoaderBridge {
}
MOCK_METHOD2(AppendDataToUpload, void(const char* data, int data_len));
- MOCK_METHOD3(AppendFileRangeToUpload, void(const FilePath& file_path,
- uint64 offset,
- uint64 length));
+ MOCK_METHOD4(AppendFileRangeToUpload,
+ void(const FilePath& file_path,
+ uint64 offset,
+ uint64 length,
+ const base::Time& expected_modification_time));
MOCK_METHOD1(SetUploadIdentifier, void(int64 identifier));
MOCK_METHOD1(Start, bool(ResourceLoaderBridge::Peer* peer));
MOCK_METHOD0(Cancel, void());