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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api_helpers.h

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE 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
Index: chrome/browser/extensions/api/web_request/web_request_api_helpers.h
diff --git a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h b/chrome/browser/extensions/api/web_request/web_request_api_helpers.h
index 069ba8589ea66cb1f9c31423c7efc856ddbb5ccb..1fac04e22ed9f46343c9eb579e9dcceca07d35b9 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h
+++ b/chrome/browser/extensions/api/web_request/web_request_api_helpers.h
@@ -304,17 +304,17 @@ bool MergeOnAuthRequiredResponses(
// Returns whether |type| is a ResourceType that is handled by the web request
// API.
-bool IsRelevantResourceType(content::ResourceType::Type type);
+bool IsRelevantResourceType(content::ResourceType type);
// Returns a string representation of |type| or |other| if |type| is not handled
// by the web request API.
-const char* ResourceTypeToString(content::ResourceType::Type type);
+const char* ResourceTypeToString(content::ResourceType type);
-// Stores a |ResourceType::Type| representation in |type| if |type_str| is
+// Stores a |content::ResourceType| representation in |type| if |type_str| is
// a resource type handled by the web request API. Returns true in case of
// success.
bool ParseResourceType(const std::string& type_str,
- content::ResourceType::Type* type);
+ content::ResourceType* type);
// Triggers clearing each renderer's in-memory cache the next time it navigates.
void ClearCacheOnNavigation();

Powered by Google App Engine
This is Rietveld 408576698