// 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.

#include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h"

#include "chrome/browser/ui/browser_list.h"

namespace chrome {

Browser* GetLastActiveBrowser() {
  return BrowserList::GetLastActive();
}

}  // namespace chrome

// 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.

#include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h"

#include "chrome/browser/ui/browser_finder.h"

namespace chrome {

Browser* GetLastActiveBrowser() {
  return browser::FindLastActiveWithHostDesktopType(HOST_DESKTOP_TYPE_NATIVE);
}

}  // namespace chrome

Remove BrowserList::GetLastActive usage in cocoa-land.
Remove BrowserList::GetLastActive usage in cocoa-land.

BUG=129187
TEST=none


Review URL: https://chromiumcodereview.appspot.com/11369111

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@166398 0039d316-1c4b-4281-b951-d872f2087c98
