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

Unified Diff: base/files/file_tracing.cc

Issue 2163063002: Make File::Duplicate() const (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert unneeded 'private:' label Created 4 years, 5 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 | « base/files/file_tracing.h ('k') | base/files/file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_tracing.cc
diff --git a/base/files/file_tracing.cc b/base/files/file_tracing.cc
index 6d11cbc746ed268a357e0d2ba08d463c501e5d96..d57b8cdd2860b64ae0f67255a311045a7c09bafd 100644
--- a/base/files/file_tracing.cc
+++ b/base/files/file_tracing.cc
@@ -40,7 +40,7 @@ FileTracing::ScopedTrace::~ScopedTrace() {
}
void FileTracing::ScopedTrace::Initialize(const char* name,
- File* file,
+ const File* file,
int64_t size) {
id_ = &file->trace_enabler_;
name_ = name;
« no previous file with comments | « base/files/file_tracing.h ('k') | base/files/file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698