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

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

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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
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 #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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h"
11 #include "content/common/message_router.h" 12 #include "content/common/message_router.h"
12 #include "webkit/glue/resource_loader_bridge.h" 13 #include "webkit/glue/resource_loader_bridge.h"
13 14
14 class FileSystemDispatcher; 15 class FileSystemDispatcher;
15 class MessageLoop; 16 class MessageLoop;
16 class NotificationService; 17 class NotificationService;
17 class QuotaDispatcher; 18 class QuotaDispatcher;
18 class ResourceDispatcher; 19 class ResourceDispatcher;
19 class SocketStreamDispatcher; 20 class SocketStreamDispatcher;
20 21
21 namespace IPC { 22 namespace IPC {
22 class SyncChannel; 23 class SyncChannel;
23 class SyncMessageFilter; 24 class SyncMessageFilter;
24 } 25 }
25 26
26 // The main thread of a child process derives from this class. 27 // The main thread of a child process derives from this class.
27 class ChildThread : public IPC::Channel::Listener, 28 class CONTENT_EXPORT ChildThread : public IPC::Channel::Listener,
28 public IPC::Message::Sender { 29 public IPC::Message::Sender {
29 public: 30 public:
30 // Creates the thread. 31 // Creates the thread.
31 ChildThread(); 32 ChildThread();
32 // Used for single-process mode. 33 // Used for single-process mode.
33 explicit ChildThread(const std::string& channel_name); 34 explicit ChildThread(const std::string& channel_name);
34 virtual ~ChildThread(); 35 virtual ~ChildThread();
35 36
36 // IPC::Message::Sender implementation: 37 // IPC::Message::Sender implementation:
37 virtual bool Send(IPC::Message* msg); 38 virtual bool Send(IPC::Message* msg);
38 39
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 scoped_ptr<NotificationService> notification_service_; 127 scoped_ptr<NotificationService> notification_service_;
127 128
128 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 129 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
129 130
130 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 131 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(ChildThread); 133 DISALLOW_COPY_AND_ASSIGN(ChildThread);
133 }; 134 };
134 135
135 #endif // CONTENT_COMMON_CHILD_THREAD_H_ 136 #endif // CONTENT_COMMON_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698