blob: cee62b03bfca35256907efb08e21d0f2fce7a373 [file] [log] [blame]
// Copyright (c) 2012 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_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_
#include "build/build_config.h"
// This file exists only to provide a C function that BrowserList can friend.
// Access to this function is legitimately needed from a variety of places in
// the Cocoa frontend that cannot be allowed via C++ friendship as these places
// are in Obj-C objects.
// Do NOT include or build this file on non-Mac platforms.
#if !defined(OS_MACOSX)
#error This file is intended for use in the Cocoa frontend only.
#endif
class Browser;
namespace chrome {
Browser* GetLastActiveBrowser();
} // namespace chrome
#endif // CHROME_BROWSER_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_