| 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 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_LINUX_H_ | 5 #ifndef APPS_SHELL_INTEGRATION_LINUX_H_ |
| 6 #define CHROME_BROWSER_SHELL_INTEGRATION_LINUX_H_ | 6 #define APPS_SHELL_INTEGRATION_LINUX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "apps/shell_integration.h" |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 12 #include "chrome/browser/shell_integration.h" | |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class Environment; | 16 class Environment; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace ShellIntegrationLinux { | 19 namespace ShellIntegrationLinux { |
| 20 | 20 |
| 21 // Returns filename of the desktop shortcut used to launch the browser. | 21 // Returns filename of the desktop shortcut used to launch the browser. |
| 22 std::string GetDesktopName(base::Environment* env); | 22 std::string GetDesktopName(base::Environment* env); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 53 bool CreateDesktopShortcut(const ShellIntegration::ShortcutInfo& shortcut_info, | 53 bool CreateDesktopShortcut(const ShellIntegration::ShortcutInfo& shortcut_info, |
| 54 const std::string& shortcut_template); | 54 const std::string& shortcut_template); |
| 55 | 55 |
| 56 // Delete any desktop shortcuts on desktop or in the application menu that have | 56 // Delete any desktop shortcuts on desktop or in the application menu that have |
| 57 // been added for the extension with |extension_id| in |profile_path|. | 57 // been added for the extension with |extension_id| in |profile_path|. |
| 58 void DeleteDesktopShortcuts(const base::FilePath& profile_path, | 58 void DeleteDesktopShortcuts(const base::FilePath& profile_path, |
| 59 const std::string& extension_id); | 59 const std::string& extension_id); |
| 60 | 60 |
| 61 } // namespace ShellIntegrationLinux | 61 } // namespace ShellIntegrationLinux |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_SHELL_INTEGRATION_LINUX_H_ | 63 #endif // APPS_SHELL_INTEGRATION_LINUX_H_ |
| OLD | NEW |