Greg Thompson | 85bd488c | 2017-06-08 09:18:11 | [diff] [blame] | 1 | // Copyright 2017 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_ACTIVE_USE_UTIL_H_ |
| 6 | #define CHROME_BROWSER_ACTIVE_USE_UTIL_H_ |
| 7 | |
| 8 | namespace base { |
| 9 | class CommandLine; |
| 10 | } |
| 11 | |
| 12 | // Returns true if a process started with |command_line| should record active |
| 13 | // use in the registry for consumption by Omaha. Unconditionally returns false |
| 14 | // for Windows build configurations that do not integrate with Omaha. |
| 15 | bool ShouldRecordActiveUse(const base::CommandLine& command_line); |
| 16 | |
| 17 | #endif // CHROME_BROWSER_ACTIVE_USE_UTIL_H_ |