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

Side by Side 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, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_URL_UTILITIES_H_ 5 #ifndef CHROME_BROWSER_ANDROID_URL_UTILITIES_H_
6 #define CHROME_BROWSER_ANDROID_URL_UTILITIES_H_ 6 #define CHROME_BROWSER_ANDROID_URL_UTILITIES_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 bool IsAcceptedScheme(std::string uri);
11 bool IsDownloadableScheme(std::string uri);
10 bool RegisterUrlUtilities(JNIEnv* env); 12 bool RegisterUrlUtilities(JNIEnv* env);
11 13
12 #endif // CHROME_BROWSER_ANDROID_URL_UTILITIES_H_ 14 #endif // CHROME_BROWSER_ANDROID_URL_UTILITIES_H_
OLDNEW
« 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