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

Side by Side Diff: chrome/installer/util/delete_after_reboot_helper.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This file declares helper methods used to schedule files for deletion 5 // This file declares helper methods used to schedule files for deletion
6 // on next reboot. 6 // on next reboot.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_ 8 #ifndef CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_
9 #define CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_ 9 #define CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include <windows.h> 14 #include <windows.h>
15 #include <stddef.h>
15 16
16 namespace base { 17 namespace base {
17 class FilePath; 18 class FilePath;
18 } 19 }
19 20
20 // Used by the unit tests. 21 // Used by the unit tests.
21 extern const wchar_t kSessionManagerKey[]; 22 extern const wchar_t kSessionManagerKey[];
22 extern const wchar_t kPendingFileRenameOps[]; 23 extern const wchar_t kPendingFileRenameOps[];
23 24
24 typedef std::pair<std::wstring, std::wstring> PendingMove; 25 typedef std::pair<std::wstring, std::wstring> PendingMove;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void StringArrayToMultiSZBytes(const std::vector<PendingMove>& strings, 67 void StringArrayToMultiSZBytes(const std::vector<PendingMove>& strings,
67 std::vector<char>* buffer); 68 std::vector<char>* buffer);
68 69
69 // A helper function for the win32 GetShortPathName that more conveniently 70 // A helper function for the win32 GetShortPathName that more conveniently
70 // returns a FilePath. Note that if |path| is not present on the file system 71 // returns a FilePath. Note that if |path| is not present on the file system
71 // then GetShortPathName will return |path| unchanged, unlike the win32 72 // then GetShortPathName will return |path| unchanged, unlike the win32
72 // GetShortPathName which will return an error. 73 // GetShortPathName which will return an error.
73 base::FilePath GetShortPathName(const base::FilePath& path); 74 base::FilePath GetShortPathName(const base::FilePath& path);
74 75
75 #endif // CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_ 76 #endif // CHROME_INSTALLER_UTIL_DELETE_AFTER_REBOOT_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/create_reg_key_work_item.cc ('k') | chrome/installer/util/delete_after_reboot_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698