summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider_list_mac.mm
blob: 2cfdb3f2ca48b8a5f610374d494e49ec6b4666bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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];
}