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

Unified Diff: content/public/common/resource_type.h

Issue 409593002: Get ResourceType from WebURLRequest rather than TargetType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows. Created 6 years, 5 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/child/web_url_loader_impl.cc ('k') | content/public/common/resource_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_type.h
diff --git a/content/public/common/resource_type.h b/content/public/common/resource_type.h
index fbf7326ed0ec26f6bc56bec7536e982c1363d9d7..92d17eb59e74bc65742b76c5fb09dced3774fc85 100644
--- a/content/public/common/resource_type.h
+++ b/content/public/common/resource_type.h
@@ -37,7 +37,7 @@ class CONTENT_EXPORT ResourceType {
// everytime.
};
- static Type FromTargetType(blink::WebURLRequest::TargetType type);
+ static Type FromWebURLRequest(const blink::WebURLRequest& request);
static bool ValidType(int32 type) {
return type >= MAIN_FRAME && type < LAST_TYPE;
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/public/common/resource_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698