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

Side by Side Diff: chromeos/tpm_token_loader.cc

Issue 385993004: Clean up Chrome OS WARNING spam (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/tpm_token_loader.h" 5 #include "chromeos/tpm_token_loader.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 case TPM_TOKEN_INITIALIZED: { 217 case TPM_TOKEN_INITIALIZED: {
218 NotifyTPMTokenReady(); 218 NotifyTPMTokenReady();
219 return; 219 return;
220 } 220 }
221 } 221 }
222 } 222 }
223 223
224 void TPMTokenLoader::RetryTokenInitializationLater() { 224 void TPMTokenLoader::RetryTokenInitializationLater() {
225 CHECK(thread_checker_.CalledOnValidThread()); 225 CHECK(thread_checker_.CalledOnValidThread());
226 LOG(WARNING) << "Retry token initialization later."; 226 VLOG(1) << "Retry token initialization later.";
227 base::MessageLoopProxy::current()->PostDelayedTask( 227 base::MessageLoopProxy::current()->PostDelayedTask(
228 FROM_HERE, 228 FROM_HERE,
229 base::Bind(&TPMTokenLoader::ContinueTokenInitialization, 229 base::Bind(&TPMTokenLoader::ContinueTokenInitialization,
230 weak_factory_.GetWeakPtr()), 230 weak_factory_.GetWeakPtr()),
231 tpm_request_delay_); 231 tpm_request_delay_);
232 tpm_request_delay_ = GetNextRequestDelayMs(tpm_request_delay_); 232 tpm_request_delay_ = GetNextRequestDelayMs(tpm_request_delay_);
233 } 233 }
234 234
235 void TPMTokenLoader::OnPersistentNSSDBOpened() { 235 void TPMTokenLoader::OnPersistentNSSDBOpened() {
236 VLOG(1) << "PersistentNSSDBOpened"; 236 VLOG(1) << "PersistentNSSDBOpened";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 void TPMTokenLoader::NotifyTPMTokenReady() { 295 void TPMTokenLoader::NotifyTPMTokenReady() {
296 FOR_EACH_OBSERVER(Observer, observers_, OnTPMTokenReady()); 296 FOR_EACH_OBSERVER(Observer, observers_, OnTPMTokenReady());
297 } 297 }
298 298
299 void TPMTokenLoader::LoggedInStateChanged() { 299 void TPMTokenLoader::LoggedInStateChanged() {
300 VLOG(1) << "LoggedInStateChanged"; 300 VLOG(1) << "LoggedInStateChanged";
301 MaybeStartTokenInitialization(); 301 MaybeStartTokenInitialization();
302 } 302 }
303 303
304 } // namespace chromeos 304 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698