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

Unified Diff: content/browser/renderer_host/redirect_to_file_resource_handler.cc

Issue 7066067: Support creating temporary files for sync file operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Sam's comments Created 9 years, 7 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: content/browser/renderer_host/redirect_to_file_resource_handler.cc
diff --git a/content/browser/renderer_host/redirect_to_file_resource_handler.cc b/content/browser/renderer_host/redirect_to_file_resource_handler.cc
index 6342cd1c85999cced9811ba66fa0a16854eeaad5..07f114c430d5119d48c309f39d0d8987f5ba47c4 100644
--- a/content/browser/renderer_host/redirect_to_file_resource_handler.cc
+++ b/content/browser/renderer_host/redirect_to_file_resource_handler.cc
@@ -76,6 +76,7 @@ bool RedirectToFileResourceHandler::OnWillStart(int request_id,
*defer = true;
base::FileUtilProxy::CreateTemporary(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
+ true, // open tmp file for async operations
darin (slow to review) 2011/06/03 17:52:23 the fact that you were encouraged to write this co
callback_factory_.NewCallback(
&RedirectToFileResourceHandler::DidCreateTemporaryFile));
return true;

Powered by Google App Engine
This is Rietveld 408576698