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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/existing_user_controller.h" 5 #include "chrome/browser/chromeos/login/existing_user_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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // If no user pods are visible, fallback to single new user pod which will 109 // If no user pods are visible, fallback to single new user pod which will
110 // have guest session link. 110 // have guest session link.
111 bool show_guest = UserCrosSettingsProvider::cached_allow_guest() && 111 bool show_guest = UserCrosSettingsProvider::cached_allow_guest() &&
112 !filtered_users.empty(); 112 !filtered_users.empty();
113 bool show_new_user = true; 113 bool show_new_user = true;
114 login_display_->set_parent_window(GetNativeWindow()); 114 login_display_->set_parent_window(GetNativeWindow());
115 login_display_->Init(filtered_users, show_guest, show_new_user); 115 login_display_->Init(filtered_users, show_guest, show_new_user);
116 116
117 LoginUtils::Get()->PrewarmAuthentication(); 117 LoginUtils::Get()->PrewarmAuthentication();
118 DBusThreadManager::Get()->session_manager_client()->EmitLoginPromptReady(); 118 DBusThreadManager::Get()->GetSessionManagerClient()->EmitLoginPromptReady();
119 } 119 }
120 120
121 //////////////////////////////////////////////////////////////////////////////// 121 ////////////////////////////////////////////////////////////////////////////////
122 // ExistingUserController, content::NotificationObserver implementation: 122 // ExistingUserController, content::NotificationObserver implementation:
123 // 123 //
124 124
125 void ExistingUserController::Observe( 125 void ExistingUserController::Observe(
126 int type, 126 int type,
127 const content::NotificationSource& source, 127 const content::NotificationSource& source,
128 const content::NotificationDetails& details) { 128 const content::NotificationDetails& details) {
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 cryptohomed->AsyncSetOwnerUser( 593 cryptohomed->AsyncSetOwnerUser(
594 UserCrosSettingsProvider::cached_owner(), NULL); 594 UserCrosSettingsProvider::cached_owner(), NULL);
595 595
596 // Do not invoke AsyncDoAutomaticFreeDiskSpaceControl(NULL) here 596 // Do not invoke AsyncDoAutomaticFreeDiskSpaceControl(NULL) here
597 // so it does not delay the following mount. Cleanup will be 597 // so it does not delay the following mount. Cleanup will be
598 // started in Cryptohomed by timer. 598 // started in Cryptohomed by timer.
599 } 599 }
600 } 600 }
601 601
602 } // namespace chromeos 602 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/base_login_display_host.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698