Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |