| Index: chrome/browser/extensions/tab_helper.cc
|
| diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
|
| index bb1a06d97376255edc7546e6cf84bd64c1040179..2bf133a099deebd48b93966db5e728407c062dc5 100644
|
| --- a/chrome/browser/extensions/tab_helper.cc
|
| +++ b/chrome/browser/extensions/tab_helper.cc
|
| @@ -148,11 +148,7 @@ bool TabHelper::CanCreateApplicationShortcuts() const {
|
| }
|
|
|
| bool TabHelper::CanCreateBookmarkApp() const {
|
| -#if defined(OS_MACOSX)
|
| - return false;
|
| -#else
|
| return IsValidBookmarkAppUrl(web_contents()->GetURL());
|
| -#endif
|
| }
|
|
|
| void TabHelper::AddScriptExecutionObserver(ScriptExecutionObserver* observer) {
|
| @@ -295,7 +291,6 @@ void TabHelper::DidCloneToNewWebContents(WebContents* old_web_contents,
|
| }
|
|
|
| void TabHelper::OnDidGetWebApplicationInfo(const WebApplicationInfo& info) {
|
| -#if !defined(OS_MACOSX)
|
| web_app_info_ = info;
|
|
|
| NavigationEntry* entry =
|
| @@ -340,7 +335,6 @@ void TabHelper::OnDidGetWebApplicationInfo(const WebApplicationInfo& info) {
|
| // fails.
|
| if (pending_web_app_action_ != CREATE_HOSTED_APP)
|
| pending_web_app_action_ = NONE;
|
| -#endif
|
| }
|
|
|
| void TabHelper::OnInlineWebstoreInstall(int install_id,
|
|
|