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

Unified Diff: webkit/fileapi/file_system_path_manager.cc

Issue 7155031: Save net-internals log dumps directly to disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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: webkit/fileapi/file_system_path_manager.cc
===================================================================
--- webkit/fileapi/file_system_path_manager.cc (revision 89253)
+++ webkit/fileapi/file_system_path_manager.cc (working copy)
@@ -31,6 +31,7 @@
using base::PlatformFileError;
static const char kExtensionScheme[] = "chrome-extension";
+static const char kChromeScheme[] = "chrome";
namespace fileapi {
@@ -105,7 +106,7 @@
// Basically we only accept http or https. We allow file:// URLs
// only if --allow-file-access-from-files flag is given.
return url.SchemeIs("http") || url.SchemeIs("https") ||
- url.SchemeIs(kExtensionScheme) ||
+ url.SchemeIs(kExtensionScheme) || url.SchemeIs(kChromeScheme) ||
eroman 2011/06/16 00:42:02 you will need someone from corresponding OWNERS to
mmenke 2011/06/16 16:16:53 Will do.
(url.SchemeIsFile() && allow_file_access_from_files_);
}

Powered by Google App Engine
This is Rietveld 408576698