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

Side by Side Diff: ipc/attachment_broker.h

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: merge up to r429325 Created 4 years, 1 month 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
« no previous file with comments | « ios/web/public/web_thread.h ('k') | ipc/attachment_broker_privileged.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IPC_ATTACHMENT_BROKER_H_ 5 #ifndef IPC_ATTACHMENT_BROKER_H_
6 #define IPC_ATTACHMENT_BROKER_H_ 6 #define IPC_ATTACHMENT_BROKER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/process/process_handle.h" 11 #include "base/process/process_handle.h"
12 #include "base/single_thread_task_runner.h"
12 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
13 #include "build/build_config.h" 14 #include "build/build_config.h"
14 #include "ipc/brokerable_attachment.h" 15 #include "ipc/brokerable_attachment.h"
15 #include "ipc/ipc_export.h" 16 #include "ipc/ipc_export.h"
16 #include "ipc/ipc_listener.h" 17 #include "ipc/ipc_listener.h"
17 18
18 // If the platform has no attachments that need brokering, then it shouldn't 19 // If the platform has no attachments that need brokering, then it shouldn't
19 // compile any code that calls member functions of AttachmentBroker. This 20 // compile any code that calls member functions of AttachmentBroker. This
20 // prevents symbols only used by AttachmentBroker and its subclasses from 21 // prevents symbols only used by AttachmentBroker and its subclasses from
21 // making it into the binary. 22 // making it into the binary.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 168
168 // The AttachmentBroker can be accessed from any thread, so modifications to 169 // The AttachmentBroker can be accessed from any thread, so modifications to
169 // internal state must be guarded by a lock. 170 // internal state must be guarded by a lock.
170 base::Lock lock_; 171 base::Lock lock_;
171 DISALLOW_COPY_AND_ASSIGN(AttachmentBroker); 172 DISALLOW_COPY_AND_ASSIGN(AttachmentBroker);
172 }; 173 };
173 174
174 } // namespace IPC 175 } // namespace IPC
175 176
176 #endif // IPC_ATTACHMENT_BROKER_H_ 177 #endif // IPC_ATTACHMENT_BROKER_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_thread.h ('k') | ipc/attachment_broker_privileged.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698