blob: c67e533f81c29ba55cd2c1bd103bfae3e6f7ea31 [file] [log] [blame]
// Copyright (c) 2011 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.
namespace browser_util {
// Check if current chrome.exe is already running as a browser process by trying
// to create a Global event with name same as full path of chrome.exe. This
// method caches the handle to this event so on subsequent calls also it can
// first close the handle and check for any other process holding the handle to
// the event.
bool IsBrowserAlreadyRunning();
} // namespace browser_util