diff options
Diffstat (limited to 'chrome/browser/web_applications/web_app_linux.cc')
-rw-r--r-- | chrome/browser/web_applications/web_app_linux.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chrome/browser/web_applications/web_app_linux.cc b/chrome/browser/web_applications/web_app_linux.cc index 680ce7f..4cde875 100644 --- a/chrome/browser/web_applications/web_app_linux.cc +++ b/chrome/browser/web_applications/web_app_linux.cc @@ -15,9 +15,9 @@ namespace internals { bool CreatePlatformShortcuts( const base::FilePath& web_app_path, - const web_app::ShortcutInfo& shortcut_info, + const ShortcutInfo& shortcut_info, const extensions::FileHandlersInfo& file_handlers_info, - const web_app::ShortcutLocations& creation_locations, + const ShortcutLocations& creation_locations, ShortcutCreationReason /*creation_reason*/) { #if !defined(OS_CHROMEOS) DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); @@ -28,9 +28,8 @@ bool CreatePlatformShortcuts( #endif } -void DeletePlatformShortcuts( - const base::FilePath& web_app_path, - const web_app::ShortcutInfo& shortcut_info) { +void DeletePlatformShortcuts(const base::FilePath& web_app_path, + const ShortcutInfo& shortcut_info) { #if !defined(OS_CHROMEOS) ShellIntegrationLinux::DeleteDesktopShortcuts(shortcut_info.profile_path, shortcut_info.extension_id); @@ -40,14 +39,14 @@ void DeletePlatformShortcuts( void UpdatePlatformShortcuts( const base::FilePath& web_app_path, const base::string16& /*old_app_title*/, - const web_app::ShortcutInfo& shortcut_info, + const ShortcutInfo& shortcut_info, const extensions::FileHandlersInfo& file_handlers_info) { DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); scoped_ptr<base::Environment> env(base::Environment::Create()); // Find out whether shortcuts are already installed. - web_app::ShortcutLocations creation_locations = + 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 |