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

Unified Diff: chrome/browser/automation/testing_automation_provider_chromeos.cc

Issue 9562028: more logs for troubleshooting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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 | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider_chromeos.cc
diff --git a/chrome/browser/automation/testing_automation_provider_chromeos.cc b/chrome/browser/automation/testing_automation_provider_chromeos.cc
index 2fc05aeda612707f215206434b0deca3a0a8da4c..85a9e5c0def940adc4eb52b36570c2535357f07c 100644
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc
@@ -259,6 +259,8 @@ void TestingAutomationProvider::ShowCreateAccountUI(
// flags. If you used EnableChromeTesting, you will have to call it again.
void TestingAutomationProvider::LoginAsGuest(DictionaryValue* args,
IPC::Message* reply_message) {
+ LOG(ERROR) << "TestingAutomationProvider::LoginAsGuest";
+
chromeos::ExistingUserController* controller =
chromeos::ExistingUserController::current_controller();
// Return immediately, since we're going to die before the login is finished.
@@ -268,6 +270,8 @@ void TestingAutomationProvider::LoginAsGuest(DictionaryValue* args,
void TestingAutomationProvider::Login(DictionaryValue* args,
IPC::Message* reply_message) {
+ LOG(ERROR) << "TestingAutomationProvider::Login";
+
std::string username, password;
if (!args->GetString("username", &username) ||
!args->GetString("password", &password)) {
@@ -285,6 +289,9 @@ void TestingAutomationProvider::Login(DictionaryValue* args,
// WebUI login.
chromeos::WebUILoginDisplay* webui_login_display =
static_cast<chromeos::WebUILoginDisplay*>(controller->login_display());
+ LOG(ERROR) << "TestingAutomationProvider::Login ShowSigninScreenForCreds("
+ << username << ", " << password << ")";
+
webui_login_display->ShowSigninScreenForCreds(username, password);
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698