diff options
author | zeno.albisser@digia.com <zeno.albisser@digia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 21:25:52 +0000 |
---|---|---|
committer | zeno.albisser@digia.com <zeno.albisser@digia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 21:25:52 +0000 |
commit | bdd8ea32582e53483a0d818ee100e7c7d0e36d35 (patch) | |
tree | 885b10f7cb21a9f1877374d159f7f7b240cc0195 /webkit | |
parent | 0fa0008be3c472ca3e7d89aed53f3056cbbf223a (diff) | |
download | chromium_src-bdd8ea32582e53483a0d818ee100e7c7d0e36d35.zip chromium_src-bdd8ea32582e53483a0d818ee100e7c7d0e36d35.tar.gz chromium_src-bdd8ea32582e53483a0d818ee100e7c7d0e36d35.tar.bz2 |
Template arguments to templates in std must have complete types.
Removing several forward declarations to ensure complete
types when instantiating a template in std.
clang++ on mac complains about this issue if building with libc++.
BUG=267500
R=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/22633003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220094 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/support/weburl_loader_mock_factory.cc | 5 | ||||
-rw-r--r-- | webkit/support/weburl_loader_mock_factory.h | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/webkit/support/weburl_loader_mock_factory.cc b/webkit/support/weburl_loader_mock_factory.cc index f18bc07..f459211 100644 --- a/webkit/support/weburl_loader_mock_factory.cc +++ b/webkit/support/weburl_loader_mock_factory.cc @@ -24,11 +24,6 @@ using WebKit::WebURLLoader; using WebKit::WebURLRequest; using WebKit::WebURLResponse; -struct WebURLLoaderMockFactory::ResponseInfo { - WebKit::WebURLResponse response; - base::FilePath file_path; -}; - WebURLLoaderMockFactory::WebURLLoaderMockFactory() {} WebURLLoaderMockFactory::~WebURLLoaderMockFactory() {} diff --git a/webkit/support/weburl_loader_mock_factory.h b/webkit/support/weburl_loader_mock_factory.h index 78abd96..8f00fc0 100644 --- a/webkit/support/weburl_loader_mock_factory.h +++ b/webkit/support/weburl_loader_mock_factory.h @@ -9,12 +9,12 @@ #include "base/files/file_path.h" #include "third_party/WebKit/public/platform/WebURL.h" +#include "third_party/WebKit/public/platform/WebURLError.h" #include "third_party/WebKit/public/platform/WebURLRequest.h" #include "third_party/WebKit/public/platform/WebURLResponse.h" namespace WebKit { class WebData; -struct WebURLError; class WebURLLoader; } @@ -75,7 +75,11 @@ class WebURLLoaderMockFactory { void CancelLoad(WebURLLoaderMock* loader); private: - struct ResponseInfo; + struct ResponseInfo { + WebKit::WebURLResponse response; + base::FilePath file_path; + }; + // Loads the specified request and populates the response, error and data // accordingly. |