[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / last_active_browser_cocoa.cc
blobd0cd33577bd0a1463026a3ffeca80cc4e4b04560
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 #include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h"
7 #include "chrome/browser/ui/browser_finder.h"
9 namespace chrome {
11 Browser* GetLastActiveBrowser() {
12 return FindLastActiveWithHostDesktopType(HOST_DESKTOP_TYPE_NATIVE);
15 } // namespace chrome