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

Side by Side Diff: base/android/jni_generator/sample_for_tests.h

Issue 1543293003: Switch to standard integer types in base/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « base/android/jni_generator/jni_generator_helper.h ('k') | base/android/jni_registrar.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_ 5 #ifndef BASE_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_
6 #define BASE_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_ 6 #define BASE_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/android/jni_android.h" 12 #include "base/android/jni_android.h"
13 #include "base/basictypes.h"
14 13
15 namespace base { 14 namespace base {
16 namespace android { 15 namespace android {
17 16
18 // This file is used to: 17 // This file is used to:
19 // - document the best practices and guidelines on JNI usage. 18 // - document the best practices and guidelines on JNI usage.
20 // - ensure sample_for_tests_jni.h compiles and the functions declared in it 19 // - ensure sample_for_tests_jni.h compiles and the functions declared in it
21 // as expected. 20 // as expected.
22 // 21 //
23 // Methods are called directly from Java (except RegisterJNI). More 22 // Methods are called directly from Java (except RegisterJNI). More
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 private: 170 private:
172 std::map<long, std::string> map_; 171 std::map<long, std::string> map_;
173 172
174 DISALLOW_COPY_AND_ASSIGN(CPPClass); 173 DISALLOW_COPY_AND_ASSIGN(CPPClass);
175 }; 174 };
176 175
177 } // namespace android 176 } // namespace android
178 } // namespace base 177 } // namespace base
179 178
180 #endif // BASE_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_ 179 #endif // BASE_ANDROID_JNI_GENERATOR_SAMPLE_FOR_TESTS_H_
OLDNEW
« no previous file with comments | « base/android/jni_generator/jni_generator_helper.h ('k') | base/android/jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698