Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 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. | |
| 4 // | |
| 5 // This file contains utilities to read and manage EULA for Chrome. | |
|
grt (UTC plus 2)
2013/01/24 02:51:40
i think it's more accurate to say something about
huangs
2013/01/24 18:56:03
Done.
| |
| 6 | |
| 7 #ifndef CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| 8 #define CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| 9 | |
| 10 #include <windows.h> | |
| 11 | |
| 12 namespace installer { | |
| 13 | |
| 14 // Performs a comprehensive test on EULA acceptance in Chrome. | |
|
grt (UTC plus 2)
2013/01/24 02:51:40
"...in system-level Chrome."
huangs
2013/01/24 18:56:03
Done (more elaborate comments).
| |
| 15 // Returns: 0 if EULA not accepted, 1 if EULA accepted, and E_FAIL on error. | |
|
grt (UTC plus 2)
2013/01/24 02:51:40
you're mixing windows HRESULTS with arbitrary valu
huangs
2013/01/24 18:56:03
Defined enum EULAAcceptanceResponse. Is it okay t
grt (UTC plus 2)
2013/01/24 21:04:55
IIRC, a process exit code in Windows is a DWORD, w
| |
| 16 HRESULT IsEULAAccepted(); | |
| 17 | |
| 18 } // namespace installer | |
| 19 | |
| 20 #endif // CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| OLD | NEW |