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

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

Issue 10416003: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_ 12 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
13 #define CONTENT_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 "base/message_loop_helpers.h" 18 #include "base/message_loop_helpers.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
21 21
22 class GURL; 22 class GURL;
23 23
24 namespace content { 24 namespace content {
25 struct ResourceResponse; 25 class ResourceResponse;
26 } 26 }
27 27
28 namespace net { 28 namespace net {
29 class IOBuffer; 29 class IOBuffer;
30 class URLRequestStatus; 30 class URLRequestStatus;
31 } // namespace net 31 } // namespace net
32 32
33 // The resource dispatcher host uses this interface to push load events to the 33 // The resource dispatcher host uses this interface to push load events to the
34 // renderer, allowing for differences in the types of IPC messages generated. 34 // renderer, allowing for differences in the types of IPC messages generated.
35 // See the implementations of this interface defined below. 35 // See the implementations of this interface defined below.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 protected: 102 protected:
103 friend class content::BrowserThread; 103 friend class content::BrowserThread;
104 friend class base::RefCountedThreadSafe< 104 friend class base::RefCountedThreadSafe<
105 ResourceHandler, content::BrowserThread::DeleteOnIOThread>; 105 ResourceHandler, content::BrowserThread::DeleteOnIOThread>;
106 friend class base::DeleteHelper<ResourceHandler>; 106 friend class base::DeleteHelper<ResourceHandler>;
107 107
108 virtual ~ResourceHandler() {} 108 virtual ~ResourceHandler() {}
109 }; 109 };
110 110
111 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_ 111 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698