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

Unified Diff: webkit/fileapi/file_system_url_request_job.cc

Issue 9373001: net: Rename FileStream::Open/Close with OpenSync/CloseSync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 10 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
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url_request_job.cc
diff --git a/webkit/fileapi/file_system_url_request_job.cc b/webkit/fileapi/file_system_url_request_job.cc
index b4ce1e41ee2f84259bef1eb8839ddaaab433587f..ef16482fd40506d71527fb77bfe19a8358aa2ca3 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -125,7 +125,7 @@ FileSystemURLRequestJob::~FileSystemURLRequestJob() {
if (stream_ != NULL) {
// Close() performs file IO: crbug.com/113300.
base::ThreadRestrictions::ScopedAllowIO allow_io;
- stream_->Close();
+ stream_->CloseSync();
}
}
@@ -140,7 +140,7 @@ void FileSystemURLRequestJob::Kill() {
if (stream_ != NULL) {
// Close() performs file IO: crbug.com/113300.
base::ThreadRestrictions::ScopedAllowIO allow_io;
- stream_->Close();
+ stream_->CloseSync();
stream_.reset(NULL);
}
URLRequestJob::Kill();
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698