Index: chrome/browser/extensions/bookmark_app_helper.h |
diff --git a/chrome/browser/extensions/bookmark_app_helper.h b/chrome/browser/extensions/bookmark_app_helper.h |
index cb6a16aa31a30022a02744dd62a50d58f96864db..7239fbefccf3ba21ffb1bde182645b05261ff721 100644 |
--- a/chrome/browser/extensions/bookmark_app_helper.h |
+++ b/chrome/browser/extensions/bookmark_app_helper.h |
@@ -98,6 +98,10 @@ class BookmarkAppHelper : public content::NotificationObserver { |
// Begins the asynchronous bookmark app creation. |
void Create(const CreateBookmarkAppCallback& callback); |
+ // Begins the asynchronous bookmark app creation from an app banner. |
+ void CreateFromAppBanner(const CreateBookmarkAppCallback& callback, |
+ const content::Manifest& manifest); |
+ |
private: |
friend class TestBookmarkAppHelper; |
@@ -124,6 +128,10 @@ class BookmarkAppHelper : public content::NotificationObserver { |
const content::NotificationSource& source, |
const content::NotificationDetails& details) override; |
+ // Display the bubble requesting user confirmation. Called when creating a |
+ // bookmark app via an add to shelf infobar. |
+ void ShowBookmarkAppBubble(); |
+ |
// The profile that the bookmark app is being added to. |
Profile* profile_; |