| Index: trunk/src/chrome/browser/task_profiler/task_profiler_data_serializer.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/task_profiler/task_profiler_data_serializer.cc (revision 255866)
|
| +++ trunk/src/chrome/browser/task_profiler/task_profiler_data_serializer.cc (working copy)
|
| @@ -9,7 +9,7 @@
|
| #include "base/json/json_string_value_serializer.h"
|
| #include "base/time/time.h"
|
| #include "base/tracked_objects.h"
|
| -#include "chrome/common/chrome_content_client.h"
|
| +#include "content/public/common/content_client.h"
|
| #include "content/public/common/process_type.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -140,7 +140,7 @@
|
| base::ListValue* per_process_data = new base::ListValue();
|
|
|
| root->SetInteger("version", 1);
|
| - root->SetString("userAgent", GetUserAgent());
|
| + root->SetString("userAgent", content::GetUserAgent(GURL()));
|
|
|
| // TODO(ramant): Collect data from other processes, then add that data to the
|
| // 'per_process_data' array here. Should leverage the TrackingSynchronizer
|
|
|