[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / restart_browser.h
blob3dde4e3e1d11cbf730e737837f9cb595f5365ba4
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_RESTART_BROWSER_H_
6 #define CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_
8 #import <Cocoa/Cocoa.h>
10 namespace restart_browser {
12 // Puts up an alert telling the user to restart their browser. The alert
13 // will be hung off |parent| or global otherise.
14 void RequestRestart(NSWindow* parent);
16 } // namespace restart_browser
18 #endif // CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_