diff options
Diffstat (limited to 'chrome/browser/automation/automation_provider_list_mac.mm')
-rw-r--r-- | chrome/browser/automation/automation_provider_list_mac.mm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider_list_mac.mm b/chrome/browser/automation/automation_provider_list_mac.mm new file mode 100644 index 0000000..2cfdb3f --- /dev/null +++ b/chrome/browser/automation/automation_provider_list_mac.mm @@ -0,0 +1,13 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/automation/automation_provider_list.h" + +#import <AppKit/AppKit.h> + +void AutomationProviderList::OnLastProviderRemoved() { + // We need to explicitly quit the application here because on Mac + // the controller holds an additional reference to g_browser_process. + [NSApp terminate:nil]; +} |