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

Side by Side Diff: chrome/installer/util/eula_util.h

Issue 12035043: Implementing app command to query EULA acceptance state for Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated ProductState logic on system/user level, Binaries/Chrome. Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
(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,
15 EULA_YES = 1
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 (the logic should produce a YES).
21 // Returns EULAAcceptanceResponse: EULA_NO if EULA not accepted,
erikwright (departed) 2013/01/24 19:09:54 I think "Returns..." is unnecessary verbosity.
huangs 2013/01/24 19:45:22 Removed.
22 // EULA_YES if EULA accepted, and EULA_FAIL on error.
23 EULAAcceptanceResponse IsEULAAccepted();
24
25 } // namespace installer
26
27 #endif // CHROME_INSTALLER_UTIL_EULA_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698