diff options
author | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 19:38:38 +0000 |
---|---|---|
committer | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 19:38:38 +0000 |
commit | dc210dd0bb899e09f1c686b7c4625586280ed369 (patch) | |
tree | 2b5b6d9483e59de82279956b843e81f41f82b957 /chrome/browser/ui/sync/profile_signin_confirmation_helper.cc | |
parent | 0b2b1ed23c26976170835414e2a47522c9abf19b (diff) | |
download | chromium_src-dc210dd0bb899e09f1c686b7c4625586280ed369.zip chromium_src-dc210dd0bb899e09f1c686b7c4625586280ed369.tar.gz chromium_src-dc210dd0bb899e09f1c686b7c4625586280ed369.tar.bz2 |
Replace some VLOG(1) with DVLOG(1).
BUG=240195
Review URL: https://codereview.chromium.org/124373004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/sync/profile_signin_confirmation_helper.cc')
-rw-r--r-- | chrome/browser/ui/sync/profile_signin_confirmation_helper.cc | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc index 7fc3688..57fc101 100644 --- a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc +++ b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc @@ -25,8 +25,6 @@ #include "ui/gfx/color_utils.h" #include "ui/native_theme/native_theme.h" -// TODO(dconnelly): change VLOG to DVLOG (crbug.com/240195) - namespace { const int kHistoryEntriesBeforeNewProfilePrompt = 10; @@ -43,8 +41,8 @@ class HasTypedURLsTask : public history::HistoryDBTask { history::URLRows rows; backend->GetAllTypedURLs(&rows); if (!rows.empty()) { - VLOG(1) << "ProfileSigninConfirmationHelper: profile contains " - << rows.size() << " typed URLs"; + DVLOG(1) << "ProfileSigninConfirmationHelper: profile contains " + << rows.size() << " typed URLs"; has_typed_urls_ = true; } return true; @@ -64,7 +62,7 @@ bool HasBookmarks(Profile* profile) { BookmarkModel* bookmarks = BookmarkModelFactory::GetForProfile(profile); bool has_bookmarks = bookmarks && bookmarks->HasBookmarks(); if (has_bookmarks) - VLOG(1) << "ProfileSigninConfirmationHelper: profile contains bookmarks"; + DVLOG(1) << "ProfileSigninConfirmationHelper: profile contains bookmarks"; return has_bookmarks; } @@ -127,8 +125,8 @@ void ProfileSigninConfirmationHelper::OnHistoryQueryResults( results->Swap(&owned_results); bool too_much_history = owned_results.size() >= max_entries; if (too_much_history) { - VLOG(1) << "ProfileSigninConfirmationHelper: profile contains " - << owned_results.size() << " history entries"; + DVLOG(1) << "ProfileSigninConfirmationHelper: profile contains " + << owned_results.size() << " history entries"; } ReturnResult(too_much_history); } @@ -192,7 +190,7 @@ SkColor GetSigninConfirmationPromptBarColor(SkAlpha alpha) { bool HasBeenShutdown(Profile* profile) { bool has_been_shutdown = !profile->IsNewProfile(); if (has_been_shutdown) - VLOG(1) << "ProfileSigninConfirmationHelper: profile is not new"; + DVLOG(1) << "ProfileSigninConfirmationHelper: profile is not new"; return has_been_shutdown; } @@ -210,8 +208,8 @@ bool HasSyncedExtensions(Profile* profile) { if (extensions::sync_helper::IsSyncable(iter->get()) && (*iter)->id() != extension_misc::kWebStoreAppId && (*iter)->id() != extension_misc::kChromeAppId) { - VLOG(1) << "ProfileSigninConfirmationHelper: " - << "profile contains a synced extension: " << (*iter)->id(); + DVLOG(1) << "ProfileSigninConfirmationHelper: " + << "profile contains a synced extension: " << (*iter)->id(); return true; } } |