diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-20 00:50:05 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-20 00:50:05 +0000 |
commit | 940895b5308ace929396a87bd13cf0764f0c16e2 (patch) | |
tree | b30776c7715555ce2da576e03fb6aa466c997c9d /content/common/resource_dispatcher_unittest.cc | |
parent | 74f649e83fb1b6f144ff20bde6abd7ca752689f9 (diff) | |
download | chromium_src-940895b5308ace929396a87bd13cf0764f0c16e2.zip chromium_src-940895b5308ace929396a87bd13cf0764f0c16e2.tar.gz chromium_src-940895b5308ace929396a87bd13cf0764f0c16e2.tar.bz2 |
Move the RequestExtraData structure to content/, where we can modify it more freely.
BUG=87192
TEST=none
Review URL: http://codereview.chromium.org/7697009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/resource_dispatcher_unittest.cc')
-rw-r--r-- | content/common/resource_dispatcher_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/common/resource_dispatcher_unittest.cc b/content/common/resource_dispatcher_unittest.cc index bf50276..228633b 100644 --- a/content/common/resource_dispatcher_unittest.cc +++ b/content/common/resource_dispatcher_unittest.cc @@ -9,6 +9,7 @@ #include "base/message_loop.h" #include "base/process.h" #include "base/process_util.h" +#include "content/common/request_extra_data.h" #include "content/common/resource_dispatcher.h" #include "content/common/resource_messages.h" #include "content/common/resource_response.h" @@ -170,8 +171,8 @@ class ResourceDispatcherTest : public testing::Test, request_info.request_type = ResourceType::SUB_RESOURCE; request_info.appcache_host_id = appcache::kNoHostId; request_info.routing_id = 0; - request_info.is_main_frame = true; - request_info.frame_id = 0; + RequestExtraData extra_data(true, 0); + request_info.extra_data = &extra_data; return dispatcher_->CreateBridge(request_info); } |