| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 // This is a functional match for chrome/browser/views/restart_message_box | 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 | 12 // so any code that needs to ask for a browser restart has something like what |
| 13 // the Windows code has. | 13 // the Windows code has. |
| 14 namespace restart_browser { | 14 namespace restart_browser { |
| 15 | 15 |
| 16 // Puts up an alert telling the user to restart their browser. The alert | 16 // Puts up an alert telling the user to restart their browser. The alert |
| 17 // will be hung off |parent| or global otherise. | 17 // will be hung off |parent| or global otherise. |
| 18 void RequestRestart(NSWindow* parent); | 18 void RequestRestart(NSWindow* parent); |
| 19 | 19 |
| 20 } // namespace restart_browser | 20 } // namespace restart_browser |
| 21 | 21 |
| 22 #endif // CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ | 22 #endif // CHROME_BROWSER_UI_COCOA_RESTART_BROWSER_H_ |
| OLD | NEW |