Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_VERIFIER_H_ | |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_VERIFIER_H_ | |
| 7 | |
| 8 namespace safe_browsing { | |
| 9 | |
| 10 // This enum defines the possible module states VerifyModule can return. | |
| 11 enum ModuleState { | |
| 12 MODULE_STATE_UNKNOWN = 0, | |
|
grt (UTC plus 2)
2014/07/21 20:41:59
nit: no need for " = 0" here.
krstnmnlsn
2014/07/25 00:15:43
Yea, I wasn't sure what the convention was (Chromi
| |
| 13 MODULE_STATE_UNMODIFIED, | |
| 14 MODULE_STATE_MODIFIED, | |
| 15 }; | |
| 16 | |
| 17 // Examines the code section of the given module in memory and on disk, looking | |
| 18 // for unexpected differences. | |
| 19 ModuleState VerifyModule(); | |
|
grt (UTC plus 2)
2014/07/22 17:39:50
ModuleState VerifyModule(const wchar_t* module);
krstnmnlsn
2014/07/25 00:15:43
Yikes/thanks! (As you can tell, the version I was
| |
| 20 | |
| 21 } // namespace safe_browsing | |
| 22 | |
| 23 #endif // CHROME_BROWSER_SAFE_BROWSING_VERIFIER_H_ | |
| OLD | NEW |