blob: 5277fb706b12021ed22f66f5bceca2aa7794e867 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2017 The Chromium Authors
Greg Thompson85bd488c2017-06-08 09:18:112// 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
8namespace base {
9class 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.
15bool ShouldRecordActiveUse(const base::CommandLine& command_line);
16
17#endif // CHROME_BROWSER_ACTIVE_USE_UTIL_H_