blob: b1863e47270a99bef08d60469e6df302473a7915 [file] [log] [blame]
Greg Thompson85bd488c2017-06-08 09:18:111// 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
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_