summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/resource_response.h')
-rw-r--r--chrome/common/resource_response.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/common/resource_response.h b/chrome/common/resource_response.h
index 368e410d..0700a8c 100644
--- a/chrome/common/resource_response.h
+++ b/chrome/common/resource_response.h
@@ -18,7 +18,8 @@
// Parameters for a resource response header.
struct ResourceResponseHead
: webkit_glue::ResourceLoaderBridge::ResponseInfo {
- ResourceResponseHead() : replace_extension_localization_templates(false) {}
+ ResourceResponseHead();
+ ~ResourceResponseHead();
// The response status.
URLRequestStatus status;
@@ -31,6 +32,9 @@ struct ResourceResponseHead
// Parameters for a synchronous resource response.
struct SyncLoadResult : ResourceResponseHead {
+ SyncLoadResult();
+ ~SyncLoadResult();
+
// The final URL after any redirects.
GURL final_url;
@@ -42,10 +46,11 @@ struct SyncLoadResult : ResourceResponseHead {
struct ResourceResponse : public base::RefCounted<ResourceResponse> {
ResourceResponseHead response_head;
+ ResourceResponse();
private:
friend class base::RefCounted<ResourceResponse>;
- ~ResourceResponse() {}
+ virtual ~ResourceResponse();
};
#endif // CHROME_COMMON_RESOURCE_RESPONSE_H_