| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/automation/automation_provider_list.h" | 5 #include "chrome/browser/automation/automation_provider_list.h" |
| 6 | 6 |
| 7 #import "chrome/browser/app_controller_mac.h" | 7 #import <AppKit/AppKit.h> |
| 8 | 8 |
| 9 void AutomationProviderList::OnLastProviderRemoved() { | 9 void AutomationProviderList::OnLastProviderRemoved() { |
| 10 // We need to explicitly quit the application here because on Mac | 10 // We need to explicitly quit the application here because on Mac |
| 11 // the controller holds an additional reference to g_browser_process. | 11 // the controller holds an additional reference to g_browser_process. |
| 12 [[NSApp delegate] quit:nil]; | 12 [NSApp terminate:nil]; |
| 13 } | 13 } |
| OLD | NEW |