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

Side by Side Diff: shell/android/android_handler.h

Issue 1456913002: Use thread with looper and native message loop for vsync service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_ 5 #ifndef SHELL_ANDROID_ANDROID_HANDLER_H_
6 #define MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_ 6 #define SHELL_ANDROID_ANDROID_HANDLER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "mojo/application/content_handler_factory.h" 11 #include "mojo/application/content_handler_factory.h"
12 #include "mojo/public/cpp/application/application_delegate.h" 12 #include "mojo/public/cpp/application/application_delegate.h"
13 #include "mojo/public/cpp/application/interface_factory_impl.h" 13 #include "mojo/public/cpp/application/interface_factory_impl.h"
14 #include "mojo/services/content_handler/interfaces/content_handler.mojom.h" 14 #include "mojo/services/content_handler/interfaces/content_handler.mojom.h"
15 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac he.mojom.h" 15 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac he.mojom.h"
16 16
(...skipping 29 matching lines...) Expand all
46 mojo::URLResponseDiskCachePtr url_response_disk_cache_; 46 mojo::URLResponseDiskCachePtr url_response_disk_cache_;
47 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_; 47 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_;
48 48
49 MOJO_DISALLOW_COPY_AND_ASSIGN(AndroidHandler); 49 MOJO_DISALLOW_COPY_AND_ASSIGN(AndroidHandler);
50 }; 50 };
51 51
52 bool RegisterAndroidHandlerJni(JNIEnv* env); 52 bool RegisterAndroidHandlerJni(JNIEnv* env);
53 53
54 } // namespace shell 54 } // namespace shell
55 55
56 #endif // MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_ 56 #endif // SHELL_ANDROID_ANDROID_HANDLER_H_
OLDNEW
« no previous file with comments | « shell/BUILD.gn ('k') | shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698