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

Side by Side Diff: ipc/mojo/scoped_ipc_support.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « ipc/mojo/run_all_unittests.cc ('k') | ipc/placeholder_brokerable_attachment.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 #include "ipc/mojo/scoped_ipc_support.h" 5 #include "ipc/mojo/scoped_ipc_support.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
11 #include "base/synchronization/condition_variable.h" 14 #include "base/synchronization/condition_variable.h"
12 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
13 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
14 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
15 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 18 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
16 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h" 19 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h"
17 20
18 namespace IPC { 21 namespace IPC {
19 22
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 ScopedIPCSupport::ScopedIPCSupport( 162 ScopedIPCSupport::ScopedIPCSupport(
160 scoped_refptr<base::TaskRunner> io_thread_task_runner) { 163 scoped_refptr<base::TaskRunner> io_thread_task_runner) {
161 ipc_support_initializer.Get().Init(io_thread_task_runner); 164 ipc_support_initializer.Get().Init(io_thread_task_runner);
162 } 165 }
163 166
164 ScopedIPCSupport::~ScopedIPCSupport() { 167 ScopedIPCSupport::~ScopedIPCSupport() {
165 ipc_support_initializer.Get().ShutDown(false); 168 ipc_support_initializer.Get().ShutDown(false);
166 } 169 }
167 170
168 } // namespace IPC 171 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/mojo/run_all_unittests.cc ('k') | ipc/placeholder_brokerable_attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698