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

Unified Diff: content/shell/renderer/test_runner/WebTestProxy.h

Issue 146333004: Introduce an intra-priority level sorting value - Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from review. Created 6 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/WebTestProxy.h
diff --git a/content/shell/renderer/test_runner/WebTestProxy.h b/content/shell/renderer/test_runner/WebTestProxy.h
index a5680c5c1c8c4e8f3c454d0b093d60985cc4c502..52f5cb2018cb5847382f2822ff0a88c4d57e0468 100644
--- a/content/shell/renderer/test_runner/WebTestProxy.h
+++ b/content/shell/renderer/test_runner/WebTestProxy.h
@@ -182,7 +182,7 @@ protected:
void willRequestResource(blink::WebFrame*, const blink::WebCachedURLRequest&);
void willSendRequest(blink::WebFrame*, unsigned identifier, blink::WebURLRequest&, const blink::WebURLResponse& redirectResponse);
void didReceiveResponse(blink::WebFrame*, unsigned identifier, const blink::WebURLResponse&);
- void didChangeResourcePriority(blink::WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&);
+ void didChangeResourcePriority(blink::WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&, int intra_priority_value);
void didFinishResourceLoad(blink::WebFrame*, unsigned identifier);
blink::WebNavigationPolicy decidePolicyForNavigation(blink::WebFrame*, blink::WebDataSource::ExtraData*, const blink::WebURLRequest&, blink::WebNavigationType, blink::WebNavigationPolicy defaultPolicy, bool isRedirect);
bool willCheckAndDispatchMessageEvent(blink::WebFrame* sourceFrame, blink::WebFrame* targetFrame, blink::WebSecurityOrigin target, blink::WebDOMMessageEvent);
@@ -443,10 +443,10 @@ public:
WebTestProxyBase::didReceiveResponse(frame, identifier, response);
Base::didReceiveResponse(frame, identifier, response);
}
- virtual void didChangeResourcePriority(blink::WebFrame* frame, unsigned identifier, const blink::WebURLRequest::Priority& priority)
+ virtual void didChangeResourcePriority(blink::WebFrame* frame, unsigned identifier, const blink::WebURLRequest::Priority& priority, int intra_priority_value)
{
- WebTestProxyBase::didChangeResourcePriority(frame, identifier, priority);
- Base::didChangeResourcePriority(frame, identifier, priority);
+ WebTestProxyBase::didChangeResourcePriority(frame, identifier, priority, intra_priority_value);
+ Base::didChangeResourcePriority(frame, identifier, priority, intra_priority_value);
}
virtual void didFinishResourceLoad(blink::WebFrame* frame, unsigned identifier)
{

Powered by Google App Engine
This is Rietveld 408576698