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

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

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Removed unused #includes Created 4 years, 2 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/chrome_restart_request.cc
diff --git a/chrome/browser/chromeos/login/chrome_restart_request.cc b/chrome/browser/chromeos/login/chrome_restart_request.cc
index 33ecb663a6d81568fb5ed4c86b0fd03745a339df..3ddcee6af3a133c98e3db6d6c89affeeda524c05 100644
--- a/chrome/browser/chromeos/login/chrome_restart_request.cc
+++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
@@ -32,12 +32,12 @@
#include "chromeos/cryptohome/cryptohome_parameters.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/session_manager_client.h"
-#include "chromeos/login/user_names.h"
#include "components/policy/core/common/policy_switches.h"
#include "components/prefs/json_pref_store.h"
#include "components/prefs/pref_service.h"
#include "components/signin/core/account_id/account_id.h"
#include "components/tracing/common/tracing_switches.h"
+#include "components/user_manager/user_names.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/content_switches.h"
#include "gpu/command_buffer/service/gpu_switches.h"
@@ -360,7 +360,7 @@ void GetOffTheRecordCommandLine(const GURL& start_url,
otr_switches.SetString(::switches::kLoggingLevel, kGuestModeLoggingLevel);
otr_switches.SetString(
switches::kLoginUser,
- cryptohome::Identification(login::GuestAccountId()).id());
+ cryptohome::Identification(user_manager::GuestAccountId()).id());
// Override the home page.
otr_switches.SetString(::switches::kHomePage,

Powered by Google App Engine
This is Rietveld 408576698