blob: 3ed836c89269b68f008c410a9668da786d62b34e [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_MAC_H_
#define CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_MAC_H_
namespace upgrade_util {
struct ThisAndOtherUserCounts {
int this_user_count;
int other_user_count;
};
// Returns the number of other running instances of this binary, both by this
// user and by other users. Returns 0 for the counts if there is an error.
ThisAndOtherUserCounts GetCountOfOtherInstancesOfThisBinary();
} // namespace upgrade_util
#endif // CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_MAC_H_