| Index: chrome/browser/web_applications/web_app_linux.cc
|
| diff --git a/chrome/browser/web_applications/web_app_linux.cc b/chrome/browser/web_applications/web_app_linux.cc
|
| index c935d3464eadd1934af76a8c52f50b9282d1943f..c822ba28be9c7aefcfc5d78370f11d976d95d8e4 100644
|
| --- a/chrome/browser/web_applications/web_app_linux.cc
|
| +++ b/chrome/browser/web_applications/web_app_linux.cc
|
| @@ -15,8 +15,8 @@ namespace internals {
|
|
|
| bool CreatePlatformShortcuts(
|
| const base::FilePath& web_app_path,
|
| - const ShellIntegration::ShortcutInfo& shortcut_info,
|
| - const ShellIntegration::ShortcutLocations& creation_locations,
|
| + const web_app::ShortcutInfo& shortcut_info,
|
| + const web_app::ShortcutLocations& creation_locations,
|
| ShortcutCreationReason /*creation_reason*/) {
|
| #if !defined(OS_CHROMEOS)
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
|
| @@ -29,7 +29,7 @@ bool CreatePlatformShortcuts(
|
|
|
| void DeletePlatformShortcuts(
|
| const base::FilePath& web_app_path,
|
| - const ShellIntegration::ShortcutInfo& shortcut_info) {
|
| + const web_app::ShortcutInfo& shortcut_info) {
|
| #if !defined(OS_CHROMEOS)
|
| ShellIntegrationLinux::DeleteDesktopShortcuts(shortcut_info.profile_path,
|
| shortcut_info.extension_id);
|
| @@ -39,13 +39,13 @@ void DeletePlatformShortcuts(
|
| void UpdatePlatformShortcuts(
|
| const base::FilePath& web_app_path,
|
| const base::string16& /*old_app_title*/,
|
| - const ShellIntegration::ShortcutInfo& shortcut_info) {
|
| + const web_app::ShortcutInfo& shortcut_info) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
|
|
|
| scoped_ptr<base::Environment> env(base::Environment::Create());
|
|
|
| // Find out whether shortcuts are already installed.
|
| - ShellIntegration::ShortcutLocations creation_locations =
|
| + web_app::ShortcutLocations creation_locations =
|
| ShellIntegrationLinux::GetExistingShortcutLocations(
|
| env.get(), shortcut_info.profile_path, shortcut_info.extension_id);
|
| // Always create a hidden shortcut in applications if a visible one is not
|
|
|