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

Unified Diff: extensions/browser/extension_prefs.h

Issue 297263003: Optimize promotion of ephemeral apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 9ffcf11c0059a4483408f2dd8d14695b9db756e3..5d3712a2bd72315903dcfc77595904920d6daa12 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -480,6 +480,9 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
// Returns true if the extension is an ephemeral app.
bool IsEphemeralApp(const std::string& extension_id) const;
+ // Promotes an ephemeral app to a regular installed app.
+ void OnEphemeralAppInstalled(const std::string& extension_id);
benwells 2014/05/27 01:42:56 Same here, the name alone is confusing. Suggest On
tmdiep 2014/05/27 01:58:54 Yeah, this was the original name as well. What abo
benwells 2014/05/27 03:11:11 sgtm.
tmdiep 2014/05/27 07:46:05 Done.
+
// Returns true if the user repositioned the app on the app launcher via drag
// and drop.
bool WasAppDraggedByUser(const std::string& extension_id);

Powered by Google App Engine
This is Rietveld 408576698