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

Unified Diff: chrome/browser/android/url_utilities.h

Issue 615433002: Add a resource throttle for sub frame unless scheme of uri is acceptable (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: chrome/browser/android/url_utilities.h
diff --git a/chrome/browser/android/url_utilities.h b/chrome/browser/android/url_utilities.h
index eabbb8dc7148fecedf53ffe039941201967e6cd6..6105d2a1756666b4fcb8019b8c8775cd98b86245 100644
--- a/chrome/browser/android/url_utilities.h
+++ b/chrome/browser/android/url_utilities.h
@@ -7,6 +7,8 @@
#include <jni.h>
+bool IsAcceptedScheme(std::string uri);
+bool IsDownloadableScheme(std::string uri);
bool RegisterUrlUtilities(JNIEnv* env);
#endif // CHROME_BROWSER_ANDROID_URL_UTILITIES_H_
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java ('k') | chrome/browser/android/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698