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

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

Issue 13878010: Merge WebUILoginDisplayHost into LoginDisplayHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge + move method definition Created 7 years, 8 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/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_util.cc
diff --git a/chrome/browser/automation/automation_util.cc b/chrome/browser/automation/automation_util.cc
index 506758ff2502bb4b2303e7c2a3c860f51484822e..765fe36a8589610a1a45f1f2534619e049f58f34 100644
--- a/chrome/browser/automation/automation_util.cc
+++ b/chrome/browser/automation/automation_util.cc
@@ -47,9 +47,8 @@
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/login/existing_user_controller.h"
#include "chrome/browser/chromeos/login/login_display.h"
-#include "chrome/browser/chromeos/login/login_display_host.h"
+#include "chrome/browser/chromeos/login/login_display_host_impl.h"
#include "chrome/browser/chromeos/login/webui_login_display.h"
-#include "chrome/browser/chromeos/login/webui_login_display_host.h"
#include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
#endif
@@ -187,10 +186,10 @@ Profile* GetCurrentProfileOnChromeOS(std::string* error_message) {
*error_message = "Cannot get controller though user is not logged in.";
return NULL;
}
- chromeos::WebUILoginDisplayHost* webui_login_display_host =
- static_cast<chromeos::WebUILoginDisplayHost*>(
+ chromeos::LoginDisplayHostImpl* webui_host =
+ static_cast<chromeos::LoginDisplayHostImpl*>(
controller->login_display_host());
- content::WebUI* web_ui = webui_login_display_host->GetOobeUI()->web_ui();
+ content::WebUI* web_ui = webui_host->GetOobeUI()->web_ui();
if (!web_ui) {
*error_message = "Unable to get webui from login display host.";
return NULL;
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698