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

Side by Side Diff: content/browser/renderer_host/resource_handler.h

Issue 6532073: Move core pieces of browser\renderer_host to src\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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the RenderProcessHosts, and dispatches them to URLRequests. It then 6 // from the RenderProcessHosts, and dispatches them to URLRequests. It then
7 // fowards the messages from the URLRequests back to the correct process for 7 // fowards the messages from the URLRequests back to the correct process for
8 // handling. 8 // handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
11 11
12 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_ 12 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
13 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_ 13 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
14 #pragma once 14 #pragma once
15 15
16 #include <string> 16 #include <string>
17 17
18 #include "chrome/browser/browser_thread.h" 18 #include "chrome/browser/browser_thread.h"
19 19
20 namespace net { 20 namespace net {
21 class IOBuffer; 21 class IOBuffer;
22 class URLRequestStatus; 22 class URLRequestStatus;
23 } // namespace net 23 } // namespace net
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // with OnDataDownloaded calls. 86 // with OnDataDownloaded calls.
87 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) {} 87 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) {}
88 88
89 protected: 89 protected:
90 friend class BrowserThread; 90 friend class BrowserThread;
91 friend class DeleteTask<ResourceHandler>; 91 friend class DeleteTask<ResourceHandler>;
92 92
93 virtual ~ResourceHandler() {} 93 virtual ~ResourceHandler() {}
94 }; 94 };
95 95
96 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_ 96 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698