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

Side by Side Diff: base/android/trace_event_binding.cc

Issue 1543293003: Switch to standard integer types in base/android/. (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/sys_utils_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/android/trace_event_binding.h" 5 #include "base/android/trace_event_binding.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/macros.h"
13 #include "base/trace_event/trace_event.h" 14 #include "base/trace_event/trace_event.h"
14 #include "base/trace_event/trace_event_impl.h" 15 #include "base/trace_event/trace_event_impl.h"
15 #include "jni/TraceEvent_jni.h" 16 #include "jni/TraceEvent_jni.h"
16 17
17 namespace base { 18 namespace base {
18 namespace android { 19 namespace android {
19 20
20 namespace { 21 namespace {
21 22
22 const char kJavaCategory[] = "Java"; 23 const char kJavaCategory[] = "Java";
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 TraceEventDataConverter converter(env, jname, nullptr); 150 TraceEventDataConverter converter(env, jname, nullptr);
150 TRACE_EVENT_COPY_ASYNC_END0(kJavaCategory, converter.name(), jid); 151 TRACE_EVENT_COPY_ASYNC_END0(kJavaCategory, converter.name(), jid);
151 } 152 }
152 153
153 bool RegisterTraceEvent(JNIEnv* env) { 154 bool RegisterTraceEvent(JNIEnv* env) {
154 return RegisterNativesImpl(env); 155 return RegisterNativesImpl(env);
155 } 156 }
156 157
157 } // namespace android 158 } // namespace android
158 } // namespace base 159 } // namespace base
OLDNEW
« no previous file with comments | « base/android/sys_utils_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698