| Index: content/common/resource_priority_change_info.h
|
| diff --git a/content/common/resource_priority_change_info.h b/content/common/resource_priority_change_info.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..494ba865ac525b1aeff957e4a2939489a7b911c2
|
| --- /dev/null
|
| +++ b/content/common/resource_priority_change_info.h
|
| @@ -0,0 +1,27 @@
|
| +// 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 CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_
|
| +#define CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +#include "net/base/request_priority.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CONTENT_EXPORT ResourcePriorityChangeInfo {
|
| + ResourcePriorityChangeInfo();
|
| + ResourcePriorityChangeInfo(int request_id,
|
| + net::RequestPriority priority,
|
| + int intra_priority_value);
|
| + ~ResourcePriorityChangeInfo();
|
| +
|
| + int request_id = -1;
|
| + net::RequestPriority priority = net::IDLE;
|
| + int intra_priority_value = 0;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_
|
|
|