diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 18:33:22 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 18:33:22 +0000 |
commit | 90ec688b31c845ad75cc95d164f331fe5146a1cc (patch) | |
tree | afa01f9f604bb7cb8c13bb3c47b89b1800f7c5c1 /webkit/appcache/appcache_response_unittest.cc | |
parent | ebb5063bcf5e814fb1fe249a75849abc1425a4e5 (diff) | |
download | chromium_src-90ec688b31c845ad75cc95d164f331fe5146a1cc.zip chromium_src-90ec688b31c845ad75cc95d164f331fe5146a1cc.tar.gz chromium_src-90ec688b31c845ad75cc95d164f331fe5146a1cc.tar.bz2 |
Fix a compile error.
Review URL: http://codereview.chromium.org/307021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_response_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_response_unittest.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/webkit/appcache/appcache_response_unittest.cc b/webkit/appcache/appcache_response_unittest.cc index abc01a9..8ee6600f 100644 --- a/webkit/appcache/appcache_response_unittest.cc +++ b/webkit/appcache/appcache_response_unittest.cc @@ -325,14 +325,12 @@ class AppCacheResponseTest : public testing::Test { } // ReadNonExistentResponse ------------------------------------------- - static const int64 kNoSuchResponseId = 123; - void ReadNonExistentResponse() { // 1. Attempt to ReadInfo // 2. Attempt to ReadData reader_.reset(service_->storage()->CreateResponseReader( - GURL(), kNoSuchResponseId)); + GURL(), 123)); // Push tasks in reverse order PushNextTask(method_factory_.NewRunnableMethod( @@ -362,12 +360,12 @@ class AppCacheResponseTest : public testing::Test { void LoadResponseInfo_Miss() { PushNextTask(method_factory_.NewRunnableMethod( &AppCacheResponseTest::LoadResponseInfo_Miss_Verify)); - service_->storage()->LoadResponseInfo(GURL(), kNoSuchResponseId, + service_->storage()->LoadResponseInfo(GURL(), 123, storage_delegate_.get()); } void LoadResponseInfo_Miss_Verify() { - EXPECT_EQ(kNoSuchResponseId, storage_delegate_->loaded_info_id_); + EXPECT_EQ(123, storage_delegate_->loaded_info_id_); EXPECT_TRUE(!storage_delegate_->loaded_info_.get()); TestFinished(); } |