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

Side by Side Diff: chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc

Issue 286933005: Add logging to tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove old debug ouT Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/managed/managed_user_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/managed/locally_managed_user_creation_sc reen.h" 5 #include "chrome/browser/chromeos/login/managed/locally_managed_user_creation_sc reen.h"
6 6
7 #include "ash/desktop_background/desktop_background_controller.h" 7 #include "ash/desktop_background/desktop_background_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 master_key); 328 master_key);
329 } 329 }
330 330
331 void LocallyManagedUserCreationScreen::OnManagerLoginFailure() { 331 void LocallyManagedUserCreationScreen::OnManagerLoginFailure() {
332 if (actor_) 332 if (actor_)
333 actor_->ShowManagerPasswordError(); 333 actor_->ShowManagerPasswordError();
334 } 334 }
335 335
336 void LocallyManagedUserCreationScreen::OnManagerFullyAuthenticated( 336 void LocallyManagedUserCreationScreen::OnManagerFullyAuthenticated(
337 Profile* manager_profile) { 337 Profile* manager_profile) {
338 LOG(ERROR) << "-----------------------------OnManagerFullyAuthenticated";
339 DCHECK(controller_.get()); 338 DCHECK(controller_.get());
340 // For manager user, move desktop to locked container so that windows created 339 // For manager user, move desktop to locked container so that windows created
341 // during the user image picker step are below it. 340 // during the user image picker step are below it.
342 ash::Shell::GetInstance()-> 341 ash::Shell::GetInstance()->
343 desktop_background_controller()->MoveDesktopToLockedContainer(); 342 desktop_background_controller()->MoveDesktopToLockedContainer();
344 343
345 controller_->SetManagerProfile(manager_profile); 344 controller_->SetManagerProfile(manager_profile);
346 if (actor_) 345 if (actor_)
347 actor_->ShowUsernamePage(); 346 actor_->ShowUsernamePage();
348 347
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 selected_image_ = User::kExternalImageIndex; 591 selected_image_ = User::kExternalImageIndex;
593 } else { 592 } else {
594 NOTREACHED() << "Unexpected image type: " << image_type; 593 NOTREACHED() << "Unexpected image type: " << image_type;
595 } 594 }
596 } 595 }
597 596
598 void LocallyManagedUserCreationScreen::OnImageAccepted() { 597 void LocallyManagedUserCreationScreen::OnImageAccepted() {
599 } 598 }
600 599
601 } // namespace chromeos 600 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/managed/managed_user_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698