| Index: content/public/common/serialized_profiler_data.h
|
| diff --git a/content/public/common/serialized_profiler_data.h b/content/public/common/serialized_profiler_data.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d0d61c03d59bdd624a859886f4429a2e405b726f
|
| --- /dev/null
|
| +++ b/content/public/common/serialized_profiler_data.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_COMMON_SERIALIZED_PROFILER_DATA_H
|
| +#define CONTENT_PUBLIC_COMMON_SERIALIZED_PROFILER_DATA_H
|
| +#pragma once
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "base/tracked_objects.h"
|
| +#include "content/common/content_export.h"
|
| +#include "content/public/common/process_type.h"
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +// Extends SerializedProcessData with the process's type info.
|
| +struct CONTENT_EXPORT SerializedProfilerData :
|
| + public tracked_objects::SerializedProcessData {
|
| + SerializedProfilerData();
|
| + SerializedProfilerData(content::ProcessType process_type);
|
| + ~SerializedProfilerData();
|
| +
|
| + void ToValue(base::DictionaryValue* dictionary) const;
|
| +
|
| + content::ProcessType process_type;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_SERIALIZED_PROFILER_DATA_H
|
|
|