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 helper functions to read the Chrome EULA. | |
| 6 | |
| 7 #ifndef CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| 8 #define CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| 9 | |
| 10 namespace installer { | |
| 11 | |
| 12 enum EULAAcceptanceResponse{ | |
| 13 EULA_FAIL = -1, | |
| 14 EULA_NO = 0, | |
|
grt (UTC plus 2)
2013/01/24 21:04:55
EULA_NOT_ACCEPTED
huangs
2013/01/25 01:13:23
Done.
| |
| 15 EULA_YES = 1 | |
|
grt (UTC plus 2)
2013/01/24 21:04:55
nit: trailing comma
grt (UTC plus 2)
2013/01/24 21:04:55
EULA_ACCEPTED
huangs
2013/01/25 01:13:23
Done.
huangs
2013/01/25 01:13:23
Using QUERY_EULA_ prefix, because EULA_ACCEPTED wa
| |
| 16 }; | |
| 17 | |
| 18 // Performs a comprehensive test on EULA acceptance in Chrome. | |
| 19 // This is mostly intended for system-level Chrome, although it also supports | |
| 20 // user-level Chrome (should return EULA_YES). | |
| 21 EULAAcceptanceResponse IsEULAAccepted(); | |
| 22 | |
| 23 } // namespace installer | |
| 24 | |
| 25 #endif // CHROME_INSTALLER_UTIL_EULA_UTIL_H_ | |
| OLD | NEW |