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

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

Issue 12149003: Move tracing code in content\browser to content\browser\tracing now that there's a separate directo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android and sync Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H 5 #ifndef CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
6 #define CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H 6 #define CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "content/browser/trace_subscriber_stdio.h" 12 #include "content/browser/tracing/trace_subscriber_stdio.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // Registers the TracingIntentHandler native methods. 16 // Registers the TracingIntentHandler native methods.
17 bool RegisterTracingIntentHandler(JNIEnv* env); 17 bool RegisterTracingIntentHandler(JNIEnv* env);
18 18
19 class TracingIntentHandler : public TraceSubscriberStdio { 19 class TracingIntentHandler : public TraceSubscriberStdio {
20 public: 20 public:
21 explicit TracingIntentHandler(const FilePath& path); 21 explicit TracingIntentHandler(const FilePath& path);
22 virtual ~TracingIntentHandler(); 22 virtual ~TracingIntentHandler();
23 23
24 // TraceSubscriber implementation 24 // TraceSubscriber implementation
25 virtual void OnEndTracingComplete() OVERRIDE; 25 virtual void OnEndTracingComplete() OVERRIDE;
26 26
27 // IntentHandler 27 // IntentHandler
28 void OnEndTracing(); 28 void OnEndTracing();
29 }; 29 };
30 30
31 } // namespace content 31 } // namespace content
32 #endif // CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H 32 #endif // CONTENT_BROWSER_ANDROID_TRACING_INTENT_HANDLER_H
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698