Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / last_active_browser_cocoa.h
blobcee62b03bfca35256907efb08e21d0f2fce7a373
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_
8 #include "build/build_config.h"
10 // This file exists only to provide a C function that BrowserList can friend.
11 // Access to this function is legitimately needed from a variety of places in
12 // the Cocoa frontend that cannot be allowed via C++ friendship as these places
13 // are in Obj-C objects.
14 // Do NOT include or build this file on non-Mac platforms.
15 #if !defined(OS_MACOSX)
16 #error This file is intended for use in the Cocoa frontend only.
17 #endif
19 class Browser;
21 namespace chrome {
23 Browser* GetLastActiveBrowser();
25 } // namespace chrome
27 #endif // CHROME_BROWSER_UI_COCOA_LAST_ACTIVE_BROWSER_COCOA_H_