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

Side by Side Diff: content/public/common/mojo_application_info.h

Issue 1947313002: Enable content embedders to specify mojo application task runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restores mojo:media in browser Created 4 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
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 CONTENT_PUBLIC_COMMON_MOJO_APPLICATION_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_MOJO_APPLICATION_INFO_H_
7
8 #include <memory>
9
10 #include "base/callback_forward.h"
11 #include "base/memory/ref_counted.h"
12 #include "content/common/content_export.h"
13 #include "services/shell/public/cpp/shell_client.h"
14
15 namespace base {
16 class SingleThreadTaskRunner;
17 } // namespace base
18
19 namespace content {
20
21 struct CONTENT_EXPORT MojoApplicationInfo {
22 using ApplicationFactory = base::Callback<std::unique_ptr<shell::ShellClient>(
23 const base::Closure& quit_closure)>;
24
25 MojoApplicationInfo();
26 MojoApplicationInfo(const MojoApplicationInfo& other);
27 ~MojoApplicationInfo();
28
29 ApplicationFactory application_factory;
30 scoped_refptr<base::SingleThreadTaskRunner> application_task_runner;
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_PUBLIC_COMMON_MOJO_APPLICATION_INFO_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/common/mojo_application_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698