diff options
Diffstat (limited to 'chrome/browser/browser_process_platform_part_mac.mm')
-rw-r--r-- | chrome/browser/browser_process_platform_part_mac.mm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_platform_part_mac.mm b/chrome/browser/browser_process_platform_part_mac.mm new file mode 100644 index 0000000..a279de6 --- /dev/null +++ b/chrome/browser/browser_process_platform_part_mac.mm @@ -0,0 +1,19 @@ +// Copyright (c) 2013 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/browser_process_platform_part_mac.h" +#include "chrome/browser/chrome_browser_application_mac.h" + +BrowserProcessPlatformPart::BrowserProcessPlatformPart() { +} + +BrowserProcessPlatformPart::~BrowserProcessPlatformPart() { +} + +void BrowserProcessPlatformPart::AttemptExit() { + // On the Mac, the application continues to run once all windows are closed. + // Terminate will result in a CloseAllBrowsers() call, and once (and if) + // that is done, will cause the application to exit cleanly. + chrome_browser_application_mac::Terminate(); +} |