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

Side by Side Diff: base/android/java_handler_thread.h

Issue 985003004: base: Fix/add header #ifndef guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: headers: . Created 5 years, 9 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 BASE_THREADING_JAVA_THREAD_H_ 5 #ifndef BASE_ANDROID_JAVA_HANDLER_THREAD_H_
6 #define BASE_THREADING_JAVA_THREAD_H_ 6 #define BASE_ANDROID_JAVA_HANDLER_THREAD_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace base { 13 namespace base {
14 14
15 class MessageLoop; 15 class MessageLoop;
16 class WaitableEvent; 16 class WaitableEvent;
(...skipping 22 matching lines...) Expand all
39 static bool RegisterBindings(JNIEnv* env); 39 static bool RegisterBindings(JNIEnv* env);
40 40
41 private: 41 private:
42 scoped_ptr<base::MessageLoop> message_loop_; 42 scoped_ptr<base::MessageLoop> message_loop_;
43 ScopedJavaGlobalRef<jobject> java_thread_; 43 ScopedJavaGlobalRef<jobject> java_thread_;
44 }; 44 };
45 45
46 } // namespace android 46 } // namespace android
47 } // namespace base 47 } // namespace base
48 48
49 #endif // BASE_THREADING_JAVA_THREAD_H_ 49 #endif // BASE_ANDROID_JAVA_HANDLER_THREAD_H_
OLDNEW
« no previous file with comments | « base/android/important_file_writer_android.h ('k') | base/android/jni_generator/sample_for_tests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698