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

Side by Side Diff: content/browser/android/tracing_intent_handler.h

Issue 11647013: Enable Tracing on content shell for Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Extend new class from stdio subscriber. Created 7 years, 11 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
6 #define CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
7
8 #include <jni.h>
9 #include <string>
10
11 #include "base/file_util.h"
12 #include "content/browser/trace_subscriber_stdio.h"
13
14 namespace content {
15
16 // Registers the TraceController native methods.
17 bool RegisterTracingIntentHandler(JNIEnv* env);
18
19 class TracingIntentHandler
20 : public TraceSubscriberStdio {
Ted C 2013/01/04 17:40:48 this looks like it might fit on the previous line.
21 public:
22 explicit TracingIntentHandler(const FilePath& path);
23 virtual ~TracingIntentHandler() {}
Ted C 2013/01/04 17:40:48 we rarely inline destructors, so you might want to
24
25 // TraceSubscriber implementation
26 virtual void OnEndTracingComplete();
27
28 // IntentHandler
29 void OnEndTracing();
30 };
31
32 } // namespace content
33 #endif // CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698