Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1144)

Side by Side Diff: content/common/resource_priority_change_info.h

Issue 2552703003: Make reprioritization IPC batch rather than per-request.
Patch Set: Fix some typos. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698