Index: chrome/browser/task_profiler/task_profiler_data_serializer.h |
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.h b/chrome/browser/task_profiler/task_profiler_data_serializer.h |
index 09df47ee64f0884a123f9280d8e8dedb950f9072..ebe6bfd40492f6209ecff3f616eb7d635519008b 100644 |
--- a/chrome/browser/task_profiler/task_profiler_data_serializer.h |
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.h |
@@ -13,7 +13,7 @@ class FilePath; |
} |
namespace tracked_objects { |
-struct ProcessDataSnapshot; |
+struct ProcessDataPhaseSnapshot; |
} |
namespace task_profiler { |
@@ -24,10 +24,13 @@ class TaskProfilerDataSerializer { |
public: |
TaskProfilerDataSerializer() {} |
- // Writes the contents of |process_data| and |process_type| into |dictionary|. |
- static void ToValue(const tracked_objects::ProcessDataSnapshot& process_data, |
- int process_type, |
- base::DictionaryValue* dictionary); |
+ // Writes the contents of |process_data_phase|, |int process_id| and |
+ // |process_type| into |dictionary|. |
+ static void ToValue( |
+ const tracked_objects::ProcessDataPhaseSnapshot& process_data_phase, |
+ int process_id, |
+ int process_type, |
+ base::DictionaryValue* dictionary); |
private: |
DISALLOW_COPY_AND_ASSIGN(TaskProfilerDataSerializer); |