diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 19:05:37 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 19:05:37 +0000 |
commit | b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f (patch) | |
tree | dc7491ed95382eb245d8704f7e2c3f0c2f8c9997 /chrome/common/resource_dispatcher_unittest.cc | |
parent | f5dae35ca6f55a4e2d5949b96b519c1287825c76 (diff) | |
download | chromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.zip chromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.tar.gz chromium_src-b4b3a91b7f7b30b0aa1628b43b61ee9aebce562f.tar.bz2 |
FBTF: Move some structs in webkit_glue::ResourceLoaderBridge:: .
This moves inner structs into the namespace toplevel so we can foreward declare
them; then we forward declare them in render_messages.h so we can drop that
header.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3616014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher_unittest.cc')
-rw-r--r-- | chrome/common/resource_dispatcher_unittest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/common/resource_dispatcher_unittest.cc b/chrome/common/resource_dispatcher_unittest.cc index ff007f9..8e31ee9 100644 --- a/chrome/common/resource_dispatcher_unittest.cc +++ b/chrome/common/resource_dispatcher_unittest.cc @@ -12,12 +12,14 @@ #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/resource_dispatcher.h" +#include "chrome/common/resource_response.h" #include "net/base/upload_data.h" #include "net/http/http_response_headers.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/appcache/appcache_interfaces.h" using webkit_glue::ResourceLoaderBridge; +using webkit_glue::ResourceResponseInfo; static const char test_page_url[] = "http://www.google.com/"; static const char test_page_headers[] = @@ -40,7 +42,7 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer { virtual bool OnReceivedRedirect( const GURL& new_url, - const ResourceLoaderBridge::ResponseInfo& info, + const ResourceResponseInfo& info, bool* has_new_first_party_for_cookies, GURL* new_first_party_for_cookies) { *has_new_first_party_for_cookies = false; @@ -48,7 +50,7 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer { } virtual void OnReceivedResponse( - const ResourceLoaderBridge::ResponseInfo& info, + const ResourceResponseInfo& info, bool content_filtered) { } @@ -264,7 +266,7 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest, virtual bool OnReceivedRedirect( const GURL& new_url, - const ResourceLoaderBridge::ResponseInfo& info, + const ResourceResponseInfo& info, bool* has_new_first_party_for_cookies, GURL* new_first_party_for_cookies) { *has_new_first_party_for_cookies = false; @@ -272,7 +274,7 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest, } virtual void OnReceivedResponse( - const ResourceLoaderBridge::ResponseInfo& info, + const ResourceResponseInfo& info, bool content_filtered) { EXPECT_EQ(defer_loading_, false); set_defer_loading(true); |