Enable MSVC warning for unused locals.
[chromium-blink-merge.git] / chrome / installer / util / eula_util.h
blob7888c09b3ac57a1aa166e3f9ff75127a3ee04d72
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.
7 #ifndef CHROME_INSTALLER_UTIL_EULA_UTIL_H_
8 #define CHROME_INSTALLER_UTIL_EULA_UTIL_H_
10 namespace installer {
12 enum EULAAcceptanceResponse{
13 QUERY_EULA_FAIL = -1,
14 QUERY_EULA_NOT_ACCEPTED = 0,
15 QUERY_EULA_ACCEPTED = 1,
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 QUERY_EULA_ACCEPTED).
21 EULAAcceptanceResponse IsEULAAccepted(bool system_level);
23 } // namespace installer
25 #endif // CHROME_INSTALLER_UTIL_EULA_UTIL_H_