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

Side by Side Diff: content/common/child_thread.h

Issue 14359004: Inject renderer recieve message time into resource notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added description comment Created 7 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_COMMON_CHILD_THREAD_H_ 5 #ifndef CONTENT_COMMON_CHILD_THREAD_H_
6 #define CONTENT_COMMON_CHILD_THREAD_H_ 6 #define CONTENT_COMMON_CHILD_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 12 matching lines...) Expand all
23 class SyncChannel; 23 class SyncChannel;
24 class SyncMessageFilter; 24 class SyncMessageFilter;
25 } 25 }
26 26
27 namespace WebKit { 27 namespace WebKit {
28 class WebFrame; 28 class WebFrame;
29 } 29 }
30 30
31 namespace content { 31 namespace content {
32 class ChildHistogramMessageFilter; 32 class ChildHistogramMessageFilter;
33 class ChildResourceMessageFilter;
33 class FileSystemDispatcher; 34 class FileSystemDispatcher;
34 class QuotaDispatcher; 35 class QuotaDispatcher;
35 class ResourceDispatcher; 36 class ResourceDispatcher;
36 class SocketStreamDispatcher; 37 class SocketStreamDispatcher;
37 class ThreadSafeSender; 38 class ThreadSafeSender;
38 39
39 // The main thread of a child process derives from this class. 40 // The main thread of a child process derives from this class.
40 class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender { 41 class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
41 public: 42 public:
42 // Creates the thread. 43 // Creates the thread.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 bool on_channel_error_called_; 174 bool on_channel_error_called_;
174 175
175 base::MessageLoop* message_loop_; 176 base::MessageLoop* message_loop_;
176 177
177 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 178 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
178 179
179 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 180 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
180 181
181 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_; 182 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_;
182 183
184 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_;
185
183 base::WeakPtrFactory<ChildThread> channel_connected_factory_; 186 base::WeakPtrFactory<ChildThread> channel_connected_factory_;
184 187
185 DISALLOW_COPY_AND_ASSIGN(ChildThread); 188 DISALLOW_COPY_AND_ASSIGN(ChildThread);
186 }; 189 };
187 190
188 } // namespace content 191 } // namespace content
189 192
190 #endif // CONTENT_COMMON_CHILD_THREAD_H_ 193 #endif // CONTENT_COMMON_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698