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

Unified Diff: chrome/browser/chromeos/extensions/users_private/users_private_api.cc

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Update after review. 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/extensions/users_private/users_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/users_private/users_private_api.cc b/chrome/browser/chromeos/extensions/users_private/users_private_api.cc
index 2ab884ab43b64eac6f14087b0726538ed6d12c89..a6deec2dc2102bbe980dc5e3a5e364c1b60f95b9 100644
--- a/chrome/browser/chromeos/extensions/users_private/users_private_api.cc
+++ b/chrome/browser/chromeos/extensions/users_private/users_private_api.cc
@@ -21,9 +21,9 @@
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/api/users_private.h"
-#include "chromeos/login/user_names.h"
#include "chromeos/settings/cros_settings_names.h"
#include "components/user_manager/user_manager.h"
+#include "components/user_manager/user_names.h"
#include "extensions/browser/extension_function_registry.h"
#include "google_apis/gaia/gaia_auth_util.h"
@@ -76,7 +76,7 @@ UsersPrivateGetWhitelistedUsersFunction::Run() {
std::string whitelisted_user;
email_list->GetString(i, &whitelisted_user);
if (gaia::ExtractDomainName(whitelisted_user) ==
- chromeos::login::kSupervisedUserDomain) {
+ user_manager::kSupervisedUserDomain) {
email_list->Remove(i, NULL);
--i;
}

Powered by Google App Engine
This is Rietveld 408576698