1 // Copyright (c) 2011 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. 4 5 #ifndef CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ 6 #define CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ 7 #pragma once 8 9 #import <Cocoa/Cocoa.h> 10 11 // This is a functional match for chrome/browser/ui/views/restart_message_box 12 // so any code that needs to ask for a browser restart has something like what 13 // the Windows code has. 14 namespace restart_browser { 15 16 // Puts up an alert telling the user to restart their browser. The alert 17 // will be hung off |parent| or global otherise. 18 void RequestRestart(NSWindow* parent); 19 20 } // namespace restart_browser 21 22 #endif // CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ 23