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

Side by Side Diff: sky/shell/android/tracing_controller.cc

Issue 1139873004: Make android directory for Android-specific bits of SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « sky/shell/android/tracing_controller.h ('k') | sky/shell/java_service_provider.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "sky/shell/tracing_controller.h" 5 #include "sky/shell/android/tracing_controller.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/trace_event/trace_event.h" 11 #include "base/trace_event/trace_event.h"
12 #include "jni/TracingController_jni.h" 12 #include "jni/TracingController_jni.h"
13 13
14 namespace sky { 14 namespace sky {
15 namespace shell { 15 namespace shell {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 Write(kStart); 61 Write(kStart);
62 base::trace_event::TraceLog::GetInstance()->Flush(base::Bind(&HandleChunk)); 62 base::trace_event::TraceLog::GetInstance()->Flush(base::Bind(&HandleChunk));
63 } 63 }
64 64
65 bool RegisterTracingController(JNIEnv* env) { 65 bool RegisterTracingController(JNIEnv* env) {
66 return RegisterNativesImpl(env); 66 return RegisterNativesImpl(env);
67 } 67 }
68 68
69 } // namespace shell 69 } // namespace shell
70 } // namespace sky 70 } // namespace sky
OLDNEW
« no previous file with comments | « sky/shell/android/tracing_controller.h ('k') | sky/shell/java_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698