Chromium Code Reviews| Index: chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc |
| diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc |
| index 78512a0c0193e24f2dd0c8aa44b01fcd69cc693d..ef23a1bb2ae67daa20b4f9ccf99746fb26cfb6f8 100644 |
| --- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc |
| +++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc |
| @@ -269,11 +269,6 @@ void ArcAppListPrefs::StartPrefs() { |
| CHECK(arc_session_manager); |
|
lgcheng
2017/02/24 01:31:20
For sync test profiles, I think they are safe and
hidehiko
2017/02/24 18:22:26
I think we should not subscribe if profile_ is not
lgcheng
2017/02/25 01:40:38
Sync test need ArcPackageSyncDataTypeController wh
hidehiko
2017/03/02 17:45:38
Good to know. Then, could you fake ReadyForStart()
lgcheng
2017/03/02 23:45:10
I think this is the right way to go. PTAL at the u
|
| if (arc_session_manager->profile()) { |
| - // Note: If ArcSessionManager has profile, it should be as same as the one |
| - // this instance has, because ArcAppListPrefsFactory creates an instance |
| - // only if the given Profile meets ARC's requirement. |
| - // Anyway, just in case, check it here. |
| - DCHECK_EQ(profile_, arc_session_manager->profile()); |
| OnArcPlayStoreEnabledChanged( |
| arc::IsArcPlayStoreEnabledForProfile(profile_)); |
| } |