summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 23:11:51 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 23:11:51 +0000
commit51b8acfe8d41d9136b97292de961f194e109bb1d (patch)
tree75a07a8d82533ed0d2b475fde85b06246fc40d18 /chrome
parente5938e5d95c60035d7d8694789f33b64bfe0176b (diff)
downloadchromium_src-51b8acfe8d41d9136b97292de961f194e109bb1d.zip
chromium_src-51b8acfe8d41d9136b97292de961f194e109bb1d.tar.gz
chromium_src-51b8acfe8d41d9136b97292de961f194e109bb1d.tar.bz2
Convert LOG/LOG_IF(INFO) to VLOG/VLOG_IF(1) - chrome/browser/sync
Continuing the work done in http://codereview.chromium.org/4001002/show. BUG=none TEST=none Review URL: http://codereview.chromium.org/4096002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/engine/store_timestamps_command.cc5
-rw-r--r--chrome/browser/sync/engine/syncer_thread.cc4
-rw-r--r--chrome/browser/sync/engine/syncer_util.cc2
-rw-r--r--chrome/browser/sync/glue/session_model_associator.cc2
-rw-r--r--chrome/browser/sync/profile_sync_service.cc2
5 files changed, 8 insertions, 7 deletions
diff --git a/chrome/browser/sync/engine/store_timestamps_command.cc b/chrome/browser/sync/engine/store_timestamps_command.cc
index 864e429..8cf8f58 100644
--- a/chrome/browser/sync/engine/store_timestamps_command.cc
+++ b/chrome/browser/sync/engine/store_timestamps_command.cc
@@ -34,8 +34,9 @@ void StoreTimestampsCommand::ExecuteImpl(sessions::SyncSession* session) {
status->set_num_server_changes_remaining(changes_left);
}
- LOG_IF(INFO, updates.has_new_timestamp()) << "Get Updates got new timestamp: "
- << updates.new_timestamp() << " for type mask: "
+ VLOG_IF(1, updates.has_new_timestamp())
+ << "Get Updates got new timestamp: " << updates.new_timestamp()
+ << " for type mask: "
<< status->updates_request_parameters().data_types.to_string();
// Update the saved download timestamp for any items we fetched.
diff --git a/chrome/browser/sync/engine/syncer_thread.cc b/chrome/browser/sync/engine/syncer_thread.cc
index 01e7fcd..114b240 100644
--- a/chrome/browser/sync/engine/syncer_thread.cc
+++ b/chrome/browser/sync/engine/syncer_thread.cc
@@ -254,8 +254,8 @@ void SyncerThread::ThreadMainLoop() {
VLOG(1) << "Syncer thread waiting for database initialization.";
while (vault_.syncer_ == NULL && !vault_.stop_syncer_thread_)
vault_field_changed_.Wait();
- LOG_IF(INFO, !(vault_.syncer_ == NULL)) << "Syncer was found after DB "
- "started.";
+ VLOG_IF(1, !(vault_.syncer_ == NULL))
+ << "Syncer was found after DB started.";
}
while (!vault_.stop_syncer_thread_) {
diff --git a/chrome/browser/sync/engine/syncer_util.cc b/chrome/browser/sync/engine/syncer_util.cc
index b1893de..5f460df 100644
--- a/chrome/browser/sync/engine/syncer_util.cc
+++ b/chrome/browser/sync/engine/syncer_util.cc
@@ -70,7 +70,7 @@ using std::vector;
int SyncerUtil::GetUnsyncedEntries(syncable::BaseTransaction* trans,
vector<int64> *handles) {
trans->directory()->GetUnsyncedMetaHandles(trans, handles);
- LOG_IF(INFO, handles->size() > 0)
+ VLOG_IF(1, handles->size() > 0)
<< "Have " << handles->size() << " unsynced items.";
return handles->size();
}
diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc
index 24ff417..961bfc7 100644
--- a/chrome/browser/sync/glue/session_model_associator.cc
+++ b/chrome/browser/sync/glue/session_model_associator.cc
@@ -248,7 +248,7 @@ void SessionModelAssociator::InitializeCurrentMachineTag() {
// See issue 59672
current_machine_tag_ = "session_sync";
current_machine_tag_.append(dir->cache_guid());
- LOG(INFO) << "Creating machine tag: " << current_machine_tag_;
+ VLOG(1) << "Creating machine tag: " << current_machine_tag_;
}
// See PopulateSessionSpecificsTab for use. May add functionality that includes
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index b7878d7..f8a7e57 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -390,7 +390,7 @@ void ProfileSyncService::CreateBackend() {
void ProfileSyncService::StartUp() {
// Don't start up multiple times.
if (backend_.get()) {
- LOG(INFO) << "Skipping bringing up backend host.";
+ VLOG(1) << "Skipping bringing up backend host.";
return;
}