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

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

Issue 893593002: Mechanical rename of tracing includes for /base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_registrar.cc ('k') | base/debug/task_annotator.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 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/debug/trace_event.h"
12 #include "base/debug/trace_event_impl.h"
13 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/trace_event/trace_event.h"
13 #include "base/trace_event/trace_event_impl.h"
14 #include "jni/TraceEvent_jni.h" 14 #include "jni/TraceEvent_jni.h"
15 15
16 namespace base { 16 namespace base {
17 namespace android { 17 namespace android {
18 18
19 namespace { 19 namespace {
20 20
21 const char kJavaCategory[] = "Java"; 21 const char kJavaCategory[] = "Java";
22 const char kToplevelCategory[] = "toplevel"; 22 const char kToplevelCategory[] = "toplevel";
23 const char kLooperDispatchMessage[] = "Looper.dispatchMessage"; 23 const char kLooperDispatchMessage[] = "Looper.dispatchMessage";
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 TraceEventDataConverter converter(env, jname, nullptr); 138 TraceEventDataConverter converter(env, jname, nullptr);
139 TRACE_EVENT_COPY_ASYNC_END0(kJavaCategory, converter.name(), jid); 139 TRACE_EVENT_COPY_ASYNC_END0(kJavaCategory, converter.name(), jid);
140 } 140 }
141 141
142 bool RegisterTraceEvent(JNIEnv* env) { 142 bool RegisterTraceEvent(JNIEnv* env) {
143 return RegisterNativesImpl(env); 143 return RegisterNativesImpl(env);
144 } 144 }
145 145
146 } // namespace android 146 } // namespace android
147 } // namespace base 147 } // namespace base
OLDNEW
« no previous file with comments | « base/android/jni_registrar.cc ('k') | base/debug/task_annotator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698