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

Unified Diff: chrome/common/resource_dispatcher.h

Issue 570007: Replace __MSG_some_name__ template within extension css/html files with local... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/common/filter_policy.h ('k') | chrome/common/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_dispatcher.h
===================================================================
--- chrome/common/resource_dispatcher.h (revision 38490)
+++ chrome/common/resource_dispatcher.h (working copy)
@@ -42,7 +42,8 @@
// Adds a request from the pending_requests_ list, returning the new
// requests' ID
int AddPendingRequest(webkit_glue::ResourceLoaderBridge::Peer* callback,
- ResourceType::Type resource_type);
+ ResourceType::Type resource_type,
+ const GURL& request_url);
// Removes a request from the pending_requests_ list, returning true if the
// request was found and removed.
@@ -65,12 +66,14 @@
struct PendingRequestInfo {
PendingRequestInfo() { }
PendingRequestInfo(webkit_glue::ResourceLoaderBridge::Peer* peer,
- ResourceType::Type resource_type)
+ ResourceType::Type resource_type,
+ const GURL& request_url)
: peer(peer),
resource_type(resource_type),
filter_policy(FilterPolicy::DONT_FILTER),
is_deferred(false),
- is_cancelled(false) {
+ is_cancelled(false),
+ url(request_url) {
}
~PendingRequestInfo() { }
webkit_glue::ResourceLoaderBridge::Peer* peer;
@@ -79,6 +82,7 @@
MessageQueue deferred_message_queue;
bool is_deferred;
bool is_cancelled;
+ GURL url;
};
typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;
« no previous file with comments | « chrome/common/filter_policy.h ('k') | chrome/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698