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/shell_integration_linux.h" | 5 #include "apps/shell_integration_linux.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <glib.h> | 8 #include <glib.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
11 #include <sys/types.h> | 11 #include <sys/types.h> |
12 #include <unistd.h> | 12 #include <unistd.h> |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 | 724 |
725 base::FilePath shortcut_filename = GetExtensionShortcutFilename( | 725 base::FilePath shortcut_filename = GetExtensionShortcutFilename( |
726 profile_path, extension_id); | 726 profile_path, extension_id); |
727 DCHECK(!shortcut_filename.empty()); | 727 DCHECK(!shortcut_filename.empty()); |
728 | 728 |
729 DeleteShortcutOnDesktop(shortcut_filename); | 729 DeleteShortcutOnDesktop(shortcut_filename); |
730 DeleteShortcutInApplicationsMenu(shortcut_filename); | 730 DeleteShortcutInApplicationsMenu(shortcut_filename); |
731 } | 731 } |
732 | 732 |
733 } // namespace ShellIntegrationLinux | 733 } // namespace ShellIntegrationLinux |
OLD | NEW |