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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc

Issue 2165643004: arc: add enterprise_reporting.mojom interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash error. Created 4 years, 5 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/arc/arc_auth_service_browsertest.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc b/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
index 2130e9475852f4acbe0f68b5d61f2ac976464947..c49677660af9954c5121110d82ed90a0bf03dc5f 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
@@ -175,12 +175,9 @@ class ArcAuthServiceTest : public InProcessBrowserTest {
GetFakeUserManager()->LoginUser(account_id);
// Set up ARC for test profile.
- std::unique_ptr<BooleanPrefMember> arc_enabled_pref =
- base::MakeUnique<BooleanPrefMember>();
arc_enabled_pref->Init(prefs::kArcEnabled, profile()->GetPrefs());
ArcServiceManager::Get()->OnPrimaryUserProfilePrepared(
- multi_user_util::GetAccountIdFromProfile(profile()),
- std::move(arc_enabled_pref));
+ multi_user_util::GetAccountIdFromProfile(profile()));
ArcAuthService::Get()->OnPrimaryUserProfilePrepared(profile());
}

Powered by Google App Engine
This is Rietveld 408576698