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

Side by Side Diff: chrome/browser/renderer_host/resource_request_details.h

Issue 6025009: Get rid of RenderViewHostDelegate::Resource and dispatch the IPC messages dir... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The ResourceRequestDetails object contains additional details about a 5 // The ResourceRequestDetails object contains additional details about a
6 // resource request. It copies many of the publicly accessible member variables 6 // resource request. It copies many of the publicly accessible member variables
7 // of net::URLRequest, but exists on the UI thread. 7 // of net::URLRequest, but exists on the UI thread.
8 8
9 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ 9 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_
10 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ 10 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_
11 #pragma once 11 #pragma once
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
16 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h"
17 #include "chrome/browser/worker_host/worker_service.h"
18 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
19 #include "net/url_request/url_request_status.h" 16 #include "net/url_request/url_request_status.h"
17 #include "webkit/glue/resource_type.h"
20 18
21 namespace net { 19 namespace net {
22 class URLRequest; 20 class URLRequest;
23 } // namespace net 21 } // namespace net
24 22
25 // Details about a resource request notification. 23 // Details about a resource request notification.
26 class ResourceRequestDetails { 24 class ResourceRequestDetails {
27 public: 25 public:
28 ResourceRequestDetails(const net::URLRequest* request, int cert_id); 26 ResourceRequestDetails(const net::URLRequest* request, int cert_id);
29 27
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual ~ResourceRedirectDetails(); 66 virtual ~ResourceRedirectDetails();
69 67
70 // The URL to which we are being redirected. 68 // The URL to which we are being redirected.
71 const GURL& new_url() const { return new_url_; } 69 const GURL& new_url() const { return new_url_; }
72 70
73 private: 71 private:
74 GURL new_url_; 72 GURL new_url_;
75 }; 73 };
76 74
77 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ 75 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host.cc ('k') | chrome/browser/renderer_host/resource_request_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698