| Index: content/browser/tracing/add_new_file_index.h
|
| diff --git a/content/browser/tracing/add_new_file_index.h b/content/browser/tracing/add_new_file_index.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..33d7984bcaa745d3d2e6485f0d82b778db2ea5df
|
| --- /dev/null
|
| +++ b/content/browser/tracing/add_new_file_index.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
|
| +#define CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
|
| +
|
| +namespace base {
|
| +class FilePath;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +// Add first unused number file suffix ".0", ".1", ... up to kMaxLogFileIndex.
|
| +// Returns |trace_file| if all indexes are used.
|
| +// Note, that it should be synchronous to delay UI thread before log
|
| +// file name is selected.
|
| +base::FilePath AddNewLogFileIndex(const base::FilePath& trace_file);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_TRACING_ADD_NEW_FILE_INDEX_H_
|
|
|