Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1140)

Side by Side Diff: apps/shell_integration_linux.cc

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698