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

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

Issue 2074453003: Move ScopedIPCSupport to mojo/edk/embedder and the mojo::edk namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « ipc/mojo/ipc_mojo.gyp ('k') | ipc/mojo/scoped_ipc_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IPC_MOJO_SCOPED_IPC_SUPPORT_H_
6 #define IPC_MOJO_SCOPED_IPC_SUPPORT_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/task_runner.h"
11
12 namespace IPC {
13
14 // Performs any necessary Mojo IPC initialization on construction, and shuts
15 // down Mojo IPC on destruction.
16 //
17 // This should be instantiated once per process and retained as long as Mojo IPC
18 // is needed. The TaskRunner passed to the constructor should outlive this
19 // object.
20 class ScopedIPCSupport {
21 public:
22 ScopedIPCSupport(scoped_refptr<base::TaskRunner> io_thread_task_runner);
23 ~ScopedIPCSupport();
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport);
27 };
28
29 } // namespace IPC
30
31 #endif // IPC_MOJO_SCOPED_IPC_SUPPORT_H_
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo.gyp ('k') | ipc/mojo/scoped_ipc_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698