Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7594)

Unified Diff: chrome/common/resource_response.h

Issue 6628035: Move resource related IPCs to their own file in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/resource_response.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_response.h
===================================================================
--- chrome/common/resource_response.h (revision 77019)
+++ chrome/common/resource_response.h (working copy)
@@ -1,50 +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 CHROME_COMMON_RESOURCE_RESPONSE_H_
-#define CHROME_COMMON_RESOURCE_RESPONSE_H_
-#pragma once
-
-#include <string>
-
-#include "base/ref_counted.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 {
- ResourceResponseHead();
- ~ResourceResponseHead();
-
- // The response status.
- net::URLRequestStatus status;
-};
-
-// Parameters for a synchronous resource response.
-struct SyncLoadResult : ResourceResponseHead {
- SyncLoadResult();
- ~SyncLoadResult();
-
- // The final URL after any redirects.
- GURL final_url;
-
- // The response data.
- std::string data;
-};
-
-// Simple wrapper that refcounts ResourceResponseHead.
-struct ResourceResponse : public base::RefCounted<ResourceResponse> {
- ResourceResponseHead response_head;
-
- ResourceResponse();
- private:
- friend class base::RefCounted<ResourceResponse>;
-
- virtual ~ResourceResponse();
-};
-
-#endif // CHROME_COMMON_RESOURCE_RESPONSE_H_
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/resource_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698