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

Side by Side Diff: content/browser/tracing/add_new_file_index.h

Issue 311313005: Add --trace-rotate-startup-file option and store unsaved trace data on exit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build. Created 6 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
6 #define CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
7
8 namespace base {
9 class FilePath;
10 }
11
12 namespace content {
13
14 // Add first unused number file suffix ".0", ".1", ... up to kMaxLogFileIndex.
15 // Returns |trace_file| if all indexes are used.
16 // Note, that it should be synchronous to delay UI thread before log
17 // file name is selected. Therefore it is called before threads are set up.
18 base::FilePath AddNewLogFileIndex(const base::FilePath& trace_file);
19
20 } // namespace content
21
22 #endif // CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
OLDNEW
« no previous file with comments | « content/browser/browser_shutdown_profile_dumper.cc ('k') | content/browser/tracing/add_new_file_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698