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

Unified Diff: chrome/browser/chromeos/login/helper.cc

Issue 1610823003: Migrate call sites LoginDisplayHostImpl::default_host to LoginDisplayHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-add-supervised-user
Patch Set: Address comments Created 4 years, 11 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
Index: chrome/browser/chromeos/login/helper.cc
diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
index 56a3f549a63647fc0ab5b784aab1b9d169d69fba..11ceb3d0edac72757b0ae669d2261d11e6005e07 100644
--- a/chrome/browser/chromeos/login/helper.cc
+++ b/chrome/browser/chromeos/login/helper.cc
@@ -10,7 +10,7 @@
#include "base/json/json_writer.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chromeos/login/startup_utils.h"
-#include "chrome/browser/chromeos/login/ui/login_display_host_impl.h"
+#include "chrome/browser/chromeos/login/ui/login_display_host.h"
#include "chrome/browser/chromeos/login/ui/webui_login_view.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/grit/generated_resources.h"
@@ -37,7 +37,7 @@ namespace {
// Gets the WebContents instance of current login display. If there is none,
// returns nullptr.
content::WebContents* GetLoginWebContents() {
- LoginDisplayHost* host = LoginDisplayHostImpl::default_host();
+ LoginDisplayHost* host = LoginDisplayHost::default_host();
if (!host || !host->GetWebUILoginView())
return nullptr;
@@ -235,7 +235,7 @@ net::URLRequestContextGetter* GetSigninContext() {
// Special case for unit tests. There's no LoginDisplayHost thus no
// webview instance. TODO(nkostylev): Investigate if there's a better
// place to address this like dependency injection. http://crbug.com/477402
- if (!signin_partition && !LoginDisplayHostImpl::default_host())
+ if (!signin_partition && !LoginDisplayHost::default_host())
return ProfileHelper::GetSigninProfile()->GetRequestContext();
if (!signin_partition)
« no previous file with comments | « chrome/browser/chromeos/login/enterprise_enrollment_browsertest.cc ('k') | chrome/browser/chromeos/login/kiosk_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698