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

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

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/android/content_uri_utils.cc ('k') | base/android/memory_pressure_listener_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ANDROID_JNI_ANDROID_H_ 5 #ifndef BASE_ANDROID_JNI_ANDROID_H_
6 #define BASE_ANDROID_JNI_ANDROID_H_ 6 #define BASE_ANDROID_JNI_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 // TODO(torne): remove this when callers of GetApplicationContext have been
14 // fixed to include context_utils.h. http://crbug.com/552419
15 #include "base/android/context_utils.h"
16 #include "base/android/scoped_java_ref.h" 13 #include "base/android/scoped_java_ref.h"
17 #include "base/atomicops.h" 14 #include "base/atomicops.h"
18 #include "base/base_export.h" 15 #include "base/base_export.h"
19 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
20 17
21 namespace base { 18 namespace base {
22 namespace android { 19 namespace android {
23 20
24 // Used to mark symbols to be exported in a shared library's symbol table. 21 // Used to mark symbols to be exported in a shared library's symbol table.
25 #define JNI_EXPORT __attribute__ ((visibility("default"))) 22 #define JNI_EXPORT __attribute__ ((visibility("default")))
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 BASE_EXPORT void CheckException(JNIEnv* env); 119 BASE_EXPORT void CheckException(JNIEnv* env);
123 120
124 // This returns a string representation of the java stack trace. 121 // This returns a string representation of the java stack trace.
125 BASE_EXPORT std::string GetJavaExceptionInfo(JNIEnv* env, 122 BASE_EXPORT std::string GetJavaExceptionInfo(JNIEnv* env,
126 jthrowable java_throwable); 123 jthrowable java_throwable);
127 124
128 } // namespace android 125 } // namespace android
129 } // namespace base 126 } // namespace base
130 127
131 #endif // BASE_ANDROID_JNI_ANDROID_H_ 128 #endif // BASE_ANDROID_JNI_ANDROID_H_
OLDNEW
« no previous file with comments | « base/android/content_uri_utils.cc ('k') | base/android/memory_pressure_listener_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698