Index: content/browser/profiler_message_filter.cc |
diff --git a/content/browser/profiler_message_filter.cc b/content/browser/profiler_message_filter.cc |
index e0f59799b66218751bc0c1aaaee579c099f7dfda..c46ede45499f78d9bba4526b8b19df3d8b6dcce6 100644 |
--- a/content/browser/profiler_message_filter.cc |
+++ b/content/browser/profiler_message_filter.cc |
@@ -5,12 +5,11 @@ |
#include "content/browser/profiler_message_filter.h" |
#include "base/tracked_objects.h" |
-#include "base/values.h" |
#include "content/browser/profiler_controller_impl.h" |
#include "content/common/child_process_messages.h" |
+#include "content/public/common/serialized_profiler_data.h" |
-using content::BrowserMessageFilter; |
-using content::BrowserThread; |
+namespace content { |
ProfilerMessageFilter::ProfilerMessageFilter() { |
} |
@@ -39,10 +38,9 @@ bool ProfilerMessageFilter::OnMessageReceived(const IPC::Message& message, |
void ProfilerMessageFilter::OnChildProfilerData( |
int sequence_number, |
- const base::DictionaryValue& profiler_data) { |
- base::DictionaryValue* dictionary_value = new base::DictionaryValue; |
- dictionary_value->MergeDictionary(&profiler_data); |
- // OnProfilerDataCollected assumes the ownership of profiler_data. |
- content::ProfilerControllerImpl::GetInstance()->OnProfilerDataCollected( |
- sequence_number, dictionary_value); |
+ const SerializedProfilerData& profiler_data) { |
+ ProfilerControllerImpl::GetInstance()->OnProfilerDataCollected( |
+ sequence_number, profiler_data); |
+} |
+ |
} |