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

Unified Diff: chrome/browser/ui/extensions/application_launch.cc

Issue 2276293002: Revert of Add ARC++ specific fields to launch data for specific apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/browser/ui/extensions/app_launch_params.cc ('k') | components/arc/arc_bridge_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/application_launch.cc
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index 9a98e55f8c0951988246cbb865beff34e25a78a5..c37d34c1578ab0a90e2e575f99280aa31451db09 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -299,15 +299,18 @@
const Extension* extension = GetExtension(params);
if (!extension)
return NULL;
+ Profile* profile = params.profile;
WebContents* tab = NULL;
- ExtensionPrefs* prefs = ExtensionPrefs::Get(params.profile);
+ ExtensionPrefs* prefs = ExtensionPrefs::Get(profile);
prefs->SetActiveBit(extension->id(), true);
if (CanLaunchViaEvent(extension)) {
- apps::LaunchPlatformAppWithCommandLine(
- params.profile, extension, params.command_line,
- params.current_directory, params.source, params.play_store_status);
+ apps::LaunchPlatformAppWithCommandLine(profile,
+ extension,
+ params.command_line,
+ params.current_directory,
+ params.source);
return NULL;
}
@@ -323,7 +326,7 @@
// Record the launch time in the site engagement service. A recent bookmark
// app launch will provide an engagement boost to the origin.
- SiteEngagementService* service = SiteEngagementService::Get(params.profile);
+ SiteEngagementService* service = SiteEngagementService::Get(profile);
if (service)
service->SetLastShortcutLaunchTime(url);
}
« no previous file with comments | « chrome/browser/ui/extensions/app_launch_params.cc ('k') | components/arc/arc_bridge_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698