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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_delegate.cc

Issue 93883004: Sync the launch type pref for apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unfix nit because it prevents testing of how invalid values are handled Created 6 years, 11 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/ui/app_list/app_list_controller_delegate.cc
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.cc b/chrome/browser/ui/app_list/app_list_controller_delegate.cc
index 66cc94a46f498fbc3f694a2cc9fba79b21c1776d..af06152815759297534b9d221fbb20eff6e729df 100644
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.cc
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.cc
@@ -148,7 +148,7 @@ void AppListControllerDelegate::SetExtensionLaunchType(
ExtensionService* service =
extensions::ExtensionSystem::Get(profile)->extension_service();
extensions::SetLaunchType(
- service->extension_prefs(), extension_id, launch_type);
+ service, extension_id, launch_type);
}
bool AppListControllerDelegate::IsExtensionInstalled(

Powered by Google App Engine
This is Rietveld 408576698