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

Side by Side Diff: content/browser/android/launcher_thread.h

Issue 2774363003: android: Java-based launcher thread (Closed)
Patch Set: gab review 2 Created 3 years, 8 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 | « content/browser/BUILD.gn ('k') | content/browser/android/launcher_thread.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 2017 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 #include "base/android/java_handler_thread.h"
6
7 #include "base/lazy_instance.h"
8
9 namespace base {
10 class MessageLoop;
11 }
12
13 namespace content {
14 namespace android {
15
16 // This is Android's launcher thread. This should not be used directly in
17 // native code, but accessed through BrowserThread(Impl) instead.
18 class LauncherThread {
19 public:
20 static base::MessageLoop* GetMessageLoop();
21
22 private:
23 friend base::LazyInstanceTraitsBase<LauncherThread>;
24
25 LauncherThread();
26 ~LauncherThread();
27
28 base::android::JavaHandlerThread java_handler_thread_;
29 };
30
31 } // namespace android
32 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/launcher_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698