#ifndef CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_
#define CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_
#include "base/basictypes.h"
namespace base {
class DictionaryValue;
class FilePath;
}
namespace tracked_objects {
struct ProcessDataSnapshot;
}
namespace task_profiler {
class TaskProfilerDataSerializer {
public:
TaskProfilerDataSerializer() {}
static void ToValue(const tracked_objects::ProcessDataSnapshot& process_data,
int process_type,
base::DictionaryValue* dictionary);
bool WriteToFile(const base::FilePath& path);
private:
DISALLOW_COPY_AND_ASSIGN(TaskProfilerDataSerializer);
};
}
#endif