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

Side by Side Diff: chrome/browser/shell_integration_linux.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
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 "chrome/browser/shell_integration_linux.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h>
8 9
9 #if defined(USE_GLIB) 10 #if defined(USE_GLIB)
10 #include <glib.h> 11 #include <glib.h>
11 #endif 12 #endif
12 13
13 #include <stdlib.h> 14 #include <stdlib.h>
14 #include <sys/stat.h> 15 #include <sys/stat.h>
15 #include <sys/types.h> 16 #include <sys/types.h>
16 #include <unistd.h> 17 #include <unistd.h>
17 18
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 base::FilePath applications_menu = GetDataWriteLocation(env.get()); 1054 base::FilePath applications_menu = GetDataWriteLocation(env.get());
1054 applications_menu = applications_menu.AppendASCII("applications"); 1055 applications_menu = applications_menu.AppendASCII("applications");
1055 std::vector<base::FilePath> shortcut_filenames_app_menu = 1056 std::vector<base::FilePath> shortcut_filenames_app_menu =
1056 GetExistingProfileShortcutFilenames(profile_path, applications_menu); 1057 GetExistingProfileShortcutFilenames(profile_path, applications_menu);
1057 for (const auto& menu : shortcut_filenames_app_menu) { 1058 for (const auto& menu : shortcut_filenames_app_menu) {
1058 DeleteShortcutInApplicationsMenu(menu, base::FilePath(kDirectoryFilename)); 1059 DeleteShortcutInApplicationsMenu(menu, base::FilePath(kDirectoryFilename));
1059 } 1060 }
1060 } 1061 }
1061 1062
1062 } // namespace shell_integration_linux 1063 } // namespace shell_integration_linux
OLDNEW
« no previous file with comments | « chrome/browser/shell_integration_linux.h ('k') | chrome/browser/shell_integration_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698