| Index: content/common/synthetic_delay_configuration.h
|
| diff --git a/content/common/synthetic_delay_configuration.h b/content/common/synthetic_delay_configuration.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09bffe8224d68271e7c3dd3de9d8bb35bc8729e4
|
| --- /dev/null
|
| +++ b/content/common/synthetic_delay_configuration.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2013 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_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
|
| +#define CONTENT_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/time/time.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CONTENT_EXPORT SyntheticDelayConfiguration {
|
| + SyntheticDelayConfiguration();
|
| + ~SyntheticDelayConfiguration();
|
| +
|
| + // Duplicated from base::debug::TraceEventSyntheticDelay since the same enum
|
| + // cannot be used in two different IPC message sets.
|
| + enum Mode {
|
| + STATIC,
|
| + ONE_SHOT,
|
| + ALTERNATING
|
| + };
|
| +
|
| + std::string name;
|
| + base::TimeDelta target_duration;
|
| + Mode mode;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
|
|
|