OLD | NEW |
(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_ |
OLD | NEW |