Componentize component_updater: Copy over test data with executable bit.
[chromium-blink-merge.git] / chrome / browser / install_verification / win / loaded_modules_snapshot.h
blobd7266e29c55c739465722ce48ca487dc2509cdfc
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_
6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_
8 #include <Windows.h>
10 #include <vector>
12 // Takes a snapshot of the modules loaded in the current process. The returned
13 // HMODULEs are not add-ref'd, so they should not be closed and may be
14 // invalidated at any time (should a module be unloaded).
15 bool GetLoadedModulesSnapshot(std::vector<HMODULE>* snapshot);
17 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_LOADED_MODULES_SNAPSHOT_H_