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

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: add OVERRIDE to fix clang build error 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 TracingIntentHandler native methods.
17 bool RegisterTracingIntentHandler(JNIEnv* env);
18
19 class TracingIntentHandler : public TraceSubscriberStdio {
20 public:
21 explicit TracingIntentHandler(const FilePath& path);
22 virtual ~TracingIntentHandler();
23
24 // TraceSubscriber implementation
25 virtual void OnEndTracingComplete() OVERRIDE;
26
27 // IntentHandler
28 void OnEndTracing();
29 };
30
31 } // namespace content
32 #endif // CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
OLDNEW
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/tracing_intent_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698