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

Unified Diff: chrome/browser/chromeos/imageburner/burn_manager.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 | « chrome/browser/chromeos/gdata/gdata.cc ('k') | chrome/browser/safe_browsing/bloom_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/imageburner/burn_manager.cc
diff --git a/chrome/browser/chromeos/imageburner/burn_manager.cc b/chrome/browser/chromeos/imageburner/burn_manager.cc
index ffb35eb9c52e8f6aa9c35957bf5380371ad95c54..c0db721425ceea7a6a5ef4e33cb0fdbc9022ac1c 100644
--- a/chrome/browser/chromeos/imageburner/burn_manager.cc
+++ b/chrome/browser/chromeos/imageburner/burn_manager.cc
@@ -60,8 +60,8 @@ void CreateFileStream(
scoped_ptr<net::FileStream> file_stream(new net::FileStream(NULL));
// TODO(tbarzic): Save temp image file to temp folder instead of Downloads
// once extracting image directly to removalbe device is implemented
- if (file_stream->Open(file_path, base::PLATFORM_FILE_OPEN_ALWAYS |
- base::PLATFORM_FILE_WRITE))
+ if (file_stream->OpenSync(file_path, base::PLATFORM_FILE_OPEN_ALWAYS |
+ base::PLATFORM_FILE_WRITE))
file_stream.reset();
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata.cc ('k') | chrome/browser/safe_browsing/bloom_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698