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

Unified Diff: webkit/glue/resource_loader_bridge.h

Issue 12321055: Revert 183382 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1418/src/
Patch Set: Created 7 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_loader_bridge.h
===================================================================
--- webkit/glue/resource_loader_bridge.h (revision 183842)
+++ webkit/glue/resource_loader_bridge.h (working copy)
@@ -30,7 +30,6 @@
#include "base/values.h"
#include "googleurl/src/gurl.h"
#include "net/base/host_port_pair.h"
-#include "net/base/request_priority.h"
#include "net/url_request/url_request_status.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
@@ -248,7 +247,7 @@
ResourceType::Type request_type;
// Indicates the priority of this request, as determined by WebKit.
- net::RequestPriority priority;
+ WebKit::WebURLRequest::Priority priority;
// Used for plugin to browser requests.
uint32 request_context;
@@ -372,11 +371,6 @@
// method may only be called after a successful call to the Start method.
virtual void SetDefersLoading(bool value) = 0;
- // Call this method when the priority of the requested resource changes after
- // Start() has been called. This method may only be called after a successful
- // call to the Start method.
- virtual void DidChangePriority(net::RequestPriority new_priority) = 0;
-
// Call this method to load the resource synchronously (i.e., in one shot).
// This is an alternative to the Start method. Be warned that this method
// will block the calling thread until the resource is fully downloaded or an
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698