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

Unified Diff: chrome/browser/chromeos/login/owner_manager.cc

Issue 4011001: Convert LOG(INFO) to VLOG(1) - chrome/browser/chromeos/login/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « chrome/browser/chromeos/login/online_attempt.cc ('k') | chrome/browser/chromeos/login/ownership_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/owner_manager.cc
===================================================================
--- chrome/browser/chromeos/login/owner_manager.cc (revision 63306)
+++ chrome/browser/chromeos/login/owner_manager.cc (working copy)
@@ -25,7 +25,7 @@
void OwnerManager::LoadOwnerKey() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- LOG(INFO) << "Loading owner key";
+ VLOG(1) << "Loading owner key";
NotificationType result = NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED;
// If |public_key_| isn't empty, we already have the key, so don't
@@ -47,7 +47,7 @@
void OwnerManager::GenerateKeysAndExportPublic() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- LOG(INFO) << "Generating key pair";
+ VLOG(1) << "Generating key pair";
private_key_.reset(utils_->GenerateKeyPair());
@@ -69,7 +69,7 @@
}
void OwnerManager::ExportKey() {
- LOG(INFO) << "Exporting public key";
+ VLOG(1) << "Exporting public key";
if (!utils_->ExportPublicKeyViaDbus(private_key_.get(), this)) {
private_key_.reset(NULL);
BrowserThread::PostTask(
@@ -82,7 +82,7 @@
}
void OwnerManager::OnComplete(bool value) {
- LOG(INFO) << "Export public key attempt: " << (value ? "success" : "fail");
+ VLOG(1) << "Export public key attempt: " << (value ? "success" : "fail");
NotificationType result = NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED;
if (!value)
result = NotificationType::OWNER_KEY_FETCH_ATTEMPT_FAILED;
@@ -130,7 +130,7 @@
return;
}
- LOG(INFO) << "Starting signing attempt";
+ VLOG(1) << "Starting signing attempt";
KeyOpCode return_code = SUCCESS;
std::vector<uint8> signature;
if (!utils_->Sign(data, &signature, private_key_.get())) {
@@ -159,7 +159,7 @@
return;
}
- LOG(INFO) << "Starting verify attempt";
+ VLOG(1) << "Starting verify attempt";
KeyOpCode return_code = SUCCESS;
if (!utils_->Verify(data, signature, public_key_)) {
return_code = OPERATION_FAILED;
« no previous file with comments | « chrome/browser/chromeos/login/online_attempt.cc ('k') | chrome/browser/chromeos/login/ownership_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698