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

Unified Diff: extensions/browser/api/web_request/web_request_api_utils.h

Issue 601843002: Merge web_request_api_utils back into web_request_api_helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/api/web_request/web_request_api_utils.h
diff --git a/extensions/browser/api/web_request/web_request_api_utils.h b/extensions/browser/api/web_request/web_request_api_utils.h
deleted file mode 100644
index 61b8fddf706416aff55689ae0d61d87217f406fb..0000000000000000000000000000000000000000
--- a/extensions/browser/api/web_request/web_request_api_utils.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Helper functions used for the WebRequest API.
-
-#ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_UTILS_H_
-#define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_UTILS_H_
-
-#include <string>
-
-#include "content/public/common/resource_type.h"
-
-using content::ResourceType;
-
-namespace extension_web_request_api_utils {
-
-// Returns whether |type| is a ResourceType that is handled by the web request
-// API.
-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);
-
-// 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);
-
-} // namespace extension_web_request_api_utils
-
-#endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698