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

Unified Diff: chrome/browser/automation/testing_automation_provider.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/management/management_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 42a4b1e346575c1105d99a7dcaac329ffc443dbe..b0293f44a1bec939dba877928d5afac4ac55b852 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -4346,8 +4346,7 @@ void TestingAutomationProvider::SetAppLaunchType(
return;
}
- extensions::SetLaunchType(
- service->extension_prefs(), extension->id(), launch_type);
+ extensions::SetLaunchType(service, extension->id(), launch_type);
reply.SendSuccess(NULL);
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/management/management_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698