| Index: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
|
| diff --git a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1fb8e2ede8d1450c45d999a86f73df64aa22d18c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 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 WebLoadingBehaviorFlag_h
|
| +#define WebLoadingBehaviorFlag_h
|
| +
|
| +namespace blink {
|
| +
|
| +// This enum tracks certain behavior Blink exhibits when loading a page. This is
|
| +// for use in metrics collection by the loading team, to evaluate experimental
|
| +// features and potential areas of improvement in the loading stack. The main
|
| +// consumer is the page_load_metrics component, which sends bit flags to the
|
| +// browser process for histogram splitting.
|
| +enum WebLoadingBehaviorFlag {
|
| + WebLoadingBehaviorNone = 0,
|
| + WebLoadingBehaviorDocumentWriteEvaluator = 1 << 0,
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebLoadingBehaviorFlag_h
|
|
|