Add a function to create a bookmark app from a WebApplicationInfo.
commit2b477e793c1a5c30253a20181aac3b8feaa017cd
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 09:43:30 +0000 (1 09:43 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 09:43:30 +0000 (1 09:43 +0000)
tree9309037dcd5a49077f1bcfdd465f4f84f0779add
parent2a21c5b16da3315f20b5996a939272e23e5d4335
Add a function to create a bookmark app from a WebApplicationInfo.

This CL adds a function which installs a bookmark app that is created
from a WebApplicationInfo. This is part of an effort to consolidate
code that deals with bookmark apps and write tests for them and is part of
laying the groundwork for syncing of bookmark apps.

BUG=318607

Review URL: https://codereview.chromium.org/202523011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260823 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/bookmark_app_helper.cc
chrome/browser/extensions/bookmark_app_helper.h
chrome/browser/extensions/bookmark_app_helper_unittest.cc
chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc