| Index: content/common/resource_response.h
|
| ===================================================================
|
| --- content/common/resource_response.h (revision 111374)
|
| +++ content/common/resource_response.h (working copy)
|
| @@ -1,47 +0,0 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -// See http://dev.chromium.org/developers/design-documents/multi-process-resource-loading
|
| -
|
| -#ifndef CONTENT_COMMON_RESOURCE_RESPONSE_H_
|
| -#define CONTENT_COMMON_RESOURCE_RESPONSE_H_
|
| -#pragma once
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/memory/ref_counted.h"
|
| -#include "content/common/content_export.h"
|
| -#include "googleurl/src/gurl.h"
|
| -#include "net/url_request/url_request_status.h"
|
| -#include "webkit/glue/resource_loader_bridge.h"
|
| -
|
| -// Parameters for a resource response header.
|
| -struct ResourceResponseHead : webkit_glue::ResourceResponseInfo {
|
| - // The response status.
|
| - net::URLRequestStatus status;
|
| -};
|
| -
|
| -// Parameters for a synchronous resource response.
|
| -struct SyncLoadResult : ResourceResponseHead {
|
| - // The final URL after any redirects.
|
| - GURL final_url;
|
| -
|
| - // The response data.
|
| - std::string data;
|
| -};
|
| -
|
| -// Simple wrapper that refcounts ResourceResponseHead.
|
| -struct CONTENT_EXPORT ResourceResponse
|
| - : public base::RefCounted<ResourceResponse> {
|
| - ResourceResponse();
|
| -
|
| - ResourceResponseHead response_head;
|
| -
|
| - private:
|
| - friend class base::RefCounted<ResourceResponse>;
|
| -
|
| - ~ResourceResponse();
|
| -};
|
| -
|
| -#endif // CONTENT_COMMON_RESOURCE_RESPONSE_H_
|
|
|