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

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

Issue 152923005: Don't overwrite WebRTC AEC dump file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | « no previous file | content/browser/resources/media/dump_creator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 104dda2efd95595f268723d4dad8628eaf636c9e..b91e02210d69308d648fad74e117fc8e13f77b75 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -206,7 +206,7 @@ IPC::PlatformFileForTransit CreateAecDumpFileForProcess(
base::PlatformFileError error = base::PLATFORM_FILE_OK;
base::PlatformFile aec_dump_file = base::CreatePlatformFile(
file_path,
- base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE,
+ base::PLATFORM_FILE_OPEN_ALWAYS | base::PLATFORM_FILE_APPEND,
NULL,
&error);
if (error != base::PLATFORM_FILE_OK) {
@@ -220,7 +220,6 @@ IPC::PlatformFileForTransit CreateAecDumpFileForProcess(
void DisableAecDumpOnFileThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
}
-
#endif
// the global list of all renderer processes
« no previous file with comments | « no previous file | content/browser/resources/media/dump_creator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698