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

Side by Side Diff: chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc

Issue 465933002: Add a bit of logging to AutoEnrollmentController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h" 5 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 retrieve_device_state, 200 retrieve_device_state,
201 power_initial, 201 power_initial,
202 power_limit)); 202 power_limit));
203 203
204 VLOG(1) << "Starting auto-enrollment client."; 204 VLOG(1) << "Starting auto-enrollment client.";
205 client_->Start(); 205 client_->Start();
206 } 206 }
207 207
208 void AutoEnrollmentController::UpdateState( 208 void AutoEnrollmentController::UpdateState(
209 policy::AutoEnrollmentState new_state) { 209 policy::AutoEnrollmentState new_state) {
210 VLOG(1) << "New state: " << new_state << ".";
210 state_ = new_state; 211 state_ = new_state;
211 progress_callbacks_.Notify(state_); 212 progress_callbacks_.Notify(state_);
212 } 213 }
213 214
214 } // namespace chromeos 215 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698