Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc |
index bd928062a6e53fa35f01f99f5401876fec331e21..f5c7f1a193bcfae82d5a98f29ebf1cd74d73df23 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc |
@@ -1595,6 +1595,10 @@ void ChromeLauncherControllerImpl::AttachProfile(Profile* profile) { |
app_service->AddObserverAndStart(this); |
} |
+void ChromeLauncherControllerImpl::SetProfileForTest(Profile* profile) { |
+ profile_ = profile; |
+} |
+ |
void ChromeLauncherControllerImpl::ReleaseProfile() { |
if (app_sync_ui_state_) |
app_sync_ui_state_->RemoveObserver(this); |