Home | History | Annotate | Download | only in automation
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/automation/automation_provider_list.h"
      6 
      7 #import <AppKit/AppKit.h>
      8 
      9 void AutomationProviderList::OnLastProviderRemoved() {
     10   // We need to explicitly quit the application here because on Mac
     11   // the controller holds an additional reference to g_browser_process.
     12   [NSApp terminate:nil];
     13 }
     14