| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_ |
| 6 #define CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_ |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 #include "net/base/request_priority.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 struct CONTENT_EXPORT ResourcePriorityChangeInfo { |
| 14 ResourcePriorityChangeInfo(); |
| 15 ResourcePriorityChangeInfo(int request_id, |
| 16 net::RequestPriority priority, |
| 17 int intra_priority_value); |
| 18 ~ResourcePriorityChangeInfo(); |
| 19 |
| 20 int request_id = -1; |
| 21 net::RequestPriority priority = net::IDLE; |
| 22 int intra_priority_value = 0; |
| 23 }; |
| 24 |
| 25 } // namespace content |
| 26 |
| 27 #endif // CONTENT_COMMON_RESOURCE_PRIORITY_CHANGE_INFO_H_ |
| OLD | NEW |