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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.cc

Issue 304993004: [SyncFS] Add TaskLog tab on chrome://syncfs-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
index 80b086b961959b199839c2b90444f143a67cc7bc..8ca48f53031f45487f0a8740e2887ea8f74d8fe3 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
@@ -95,6 +95,7 @@ void SyncTaskToken::clear_blocking_factor() {
void SyncTaskToken::InitializeTaskLog(const std::string& task_description) {
DCHECK(task_log_);
+ task_log_.reset(new TaskLogger::TaskLog);
task_log_->start_time = base::TimeTicks::Now();
task_log_->task_description = task_description;
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc ('k') | chrome/browser/sync_file_system/task_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698