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

Side by Side Diff: chrome/browser/safe_browsing/verifier.h

Issue 406043003: Adding the VerifyModule function (and helpers) to safe browsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
(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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/verifier.cc » ('j') | chrome/browser/safe_browsing/verifier.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698