| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/web_applications/web_app.h" | 5 #include "chrome/browser/web_applications/web_app.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/i18n/file_util_icu.h" | 10 #include "base/i18n/file_util_icu.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 } | 228 } |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 string16 GetAppShortcutsSubdirName() { | 231 string16 GetAppShortcutsSubdirName() { |
| 232 chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); | 232 chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
| 233 if (channel == chrome::VersionInfo::CHANNEL_CANARY) | 233 if (channel == chrome::VersionInfo::CHANNEL_CANARY) |
| 234 return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY); | 234 return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY); |
| 235 return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME); | 235 return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME); |
| 236 } | 236 } |
| 237 | 237 |
| 238 #if !defined(OS_MACOSX) |
| 239 void MaybeLaunchShortcut(Profile* profile, |
| 240 const extensions::Extension* extension) {} |
| 241 #endif |
| 242 |
| 238 } // namespace web_app | 243 } // namespace web_app |
| OLD | NEW |