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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding unittests for net/ Created 7 years, 1 month 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: content/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index 99439b742ac06bb8d7cef00da0376a8fb317f6cb..08e565006e6c339c1e4e03627987b4c38d9f6cb5 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -63,7 +63,7 @@ namespace {
void RevokeFilePermission(int child_id, const base::FilePath& path) {
ChildProcessSecurityPolicyImpl::GetInstance()->RevokeAllPermissionsForFile(
- child_id, path);
+ child_id, path);
Tom Sepez 2013/11/11 18:28:34 Whitespace only changes in this file? You can pro
qinmin 2013/11/11 20:49:53 Done.
}
} // namespace
@@ -692,7 +692,7 @@ void FileAPIMessageFilter::OnStartBuildingStream(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
// Only an internal Blob URL is expected here. See the BlobURL of the Blink.
if (!StartsWithASCII(
- url.path(), "blobinternal%3A///", true /* case_sensitive */)) {
+ url.path(), "blobinternal%3A///", true /* case_sensitive */)) {
NOTREACHED() << "Malformed Stream URL: " << url.spec();
BadMessageReceived();
return;
@@ -942,7 +942,7 @@ void FileAPIMessageFilter::DidCreateSnapshot(
// Return the file info and platform_path.
Send(new FileSystemMsg_DidCreateSnapshotFile(
- request_id, info, platform_path));
+ request_id, info, platform_path));
}
bool FileAPIMessageFilter::ValidateFileSystemURL(

Powered by Google App Engine
This is Rietveld 408576698