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

Unified Diff: components/bookmarks/browser/bookmark_storage.cc

Issue 2920223002: Add additional histograms with suffixes to ImportantFileWriter. (Closed)
Patch Set: Fix more problems pointed by code reviewers. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: components/bookmarks/browser/bookmark_storage.cc
diff --git a/components/bookmarks/browser/bookmark_storage.cc b/components/bookmarks/browser/bookmark_storage.cc
index d32a90c88061a8b082c770da656f63da4bdfc0a2..ed52b77c2fb0d85a6c90dd63613b107337f6cc4c 100644
--- a/components/bookmarks/browser/bookmark_storage.cc
+++ b/components/bookmarks/browser/bookmark_storage.cc
@@ -153,10 +153,10 @@ BookmarkStorage::BookmarkStorage(
: model_(model),
writer_(profile_path.Append(kBookmarksFileName),
sequenced_task_runner,
- base::TimeDelta::FromMilliseconds(kSaveDelayMS)),
+ base::TimeDelta::FromMilliseconds(kSaveDelayMS),
+ "BookmarkStorage"),
sequenced_task_runner_(sequenced_task_runner),
- weak_factory_(this) {
-}
+ weak_factory_(this) {}
BookmarkStorage::~BookmarkStorage() {
if (writer_.HasPendingWrite())

Powered by Google App Engine
This is Rietveld 408576698