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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Fixed use-after-free Created 4 years 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/ash/launcher/arc_app_deferred_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
index e44efc46a76403eef24e19072729179ddfa87962..398f0d85fdc9aa48398a044a0701a9ebd739eb5a 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h"
+#include <memory>
+
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
@@ -14,8 +16,10 @@
ArcAppDeferredLauncherItemController::ArcAppDeferredLauncherItemController(
const std::string& arc_app_id,
ChromeLauncherController* controller,
+ int event_flags,
const base::WeakPtr<ArcAppDeferredLauncherController>& host)
: LauncherItemController(TYPE_APP, arc_app_id, "", controller),
+ event_flags_(event_flags),
host_(host),
start_time_(base::Time::Now()) {}

Powered by Google App Engine
This is Rietveld 408576698