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

Side by Side Diff: chrome/browser/install_verification/win/module_list.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_ 5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_
6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_ 6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_
7 7
8 #include <stddef.h>
8 #include <Windows.h> 9 #include <Windows.h>
9 10
10 #include <set> 11 #include <set>
11 #include <vector> 12 #include <vector>
12 13
13 #include "base/basictypes.h" 14 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
15 16
16 struct ModuleInfo; 17 struct ModuleInfo;
17 18
18 // Manages a list of HMODULEs, releasing them upon destruction. 19 // Manages a list of HMODULEs, releasing them upon destruction.
19 class ModuleList { 20 class ModuleList {
20 public: 21 public:
21 ~ModuleList(); 22 ~ModuleList();
22 23
23 // Attempts to AddRef each HMODULE in |snapshot|. If a module was unloaded 24 // Attempts to AddRef each HMODULE in |snapshot|. If a module was unloaded
(...skipping 17 matching lines...) Expand all
41 42
42 private: 43 private:
43 ModuleList(); 44 ModuleList();
44 45
45 std::vector<HMODULE> modules_; 46 std::vector<HMODULE> modules_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(ModuleList); 48 DISALLOW_COPY_AND_ASSIGN(ModuleList);
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_ 51 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/install_verification/win/module_info.h ('k') | chrome/browser/install_verification/win/module_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698