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

Unified Diff: content/browser/android/tracing_controller_android.h

Issue 257093004: [Android] Add an option to view the tracing record categories when running from python script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rework! Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/adb_profile_chrome.py ('k') | content/browser/android/tracing_controller_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/tracing_controller_android.h
diff --git a/content/browser/android/tracing_controller_android.h b/content/browser/android/tracing_controller_android.h
index 98455eb30731fe35743e982d9b3dfc1f91898e6f..ab426d78997ef230f98ccb46961427c85fb4719e 100644
--- a/content/browser/android/tracing_controller_android.h
+++ b/content/browser/android/tracing_controller_android.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_ANDROID_TRACING_CONTROLLER_ANDROID_H_
#define CONTENT_BROWSER_ANDROID_TRACING_CONTROLLER_ANDROID_H_
+#include <set>
+
#include "base/android/jni_weak_ref.h"
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
@@ -22,11 +24,14 @@ class TracingControllerAndroid {
jstring categories,
jboolean record_continuously);
void StopTracing(JNIEnv* env, jobject obj, jstring jfilepath);
+ bool GetKnownCategoryGroupsAsync(JNIEnv* env, jobject obj);
static void GenerateTracingFilePath(base::FilePath* file_path);
private:
~TracingControllerAndroid();
void OnTracingStopped(const base::FilePath& file_path);
+ void OnKnownCategoriesReceived(
+ const std::set<std::string>& categories_received);
JavaObjectWeakGlobalRef weak_java_object_;
base::WeakPtrFactory<TracingControllerAndroid> weak_factory_;
« no previous file with comments | « build/android/adb_profile_chrome.py ('k') | content/browser/android/tracing_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698