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

Side by Side Diff: content/browser/debugger/devtools_netlog_observer.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 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "net/base/net_log.h" 11 #include "net/base/net_log.h"
12 #include "webkit/glue/resource_loader_bridge.h" 12 #include "webkit/glue/resource_loader_bridge.h"
13 13
14 namespace content { 14 namespace content {
15 struct ResourceResponse; 15 class ResourceResponse;
16 } 16 }
17 17
18 namespace net { 18 namespace net {
19 class URLRequest; 19 class URLRequest;
20 } // namespace net 20 } // namespace net
21 21
22 // DevToolsNetLogObserver watches the NetLog event stream and collects the 22 // DevToolsNetLogObserver watches the NetLog event stream and collects the
23 // stuff that may be of interest to DevTools. Currently, this only includes 23 // stuff that may be of interest to DevTools. Currently, this only includes
24 // actual HTTP/SPDY headers sent and received over the network. 24 // actual HTTP/SPDY headers sent and received over the network.
25 // 25 //
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 typedef base::hash_map<uint32, uint32> SocketToRequestMap; 79 typedef base::hash_map<uint32, uint32> SocketToRequestMap;
80 RequestToInfoMap request_to_info_; 80 RequestToInfoMap request_to_info_;
81 RequestToEncodedDataLengthMap request_to_encoded_data_length_; 81 RequestToEncodedDataLengthMap request_to_encoded_data_length_;
82 HTTPStreamJobToSocketMap http_stream_job_to_socket_; 82 HTTPStreamJobToSocketMap http_stream_job_to_socket_;
83 SocketToRequestMap socket_to_request_; 83 SocketToRequestMap socket_to_request_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(DevToolsNetLogObserver); 85 DISALLOW_COPY_AND_ASSIGN(DevToolsNetLogObserver);
86 }; 86 };
87 87
88 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_ 88 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698