blob: d5ee7981600de5d651605837cc34623e6c78650f [file] [log] [blame]
[email protected]81ce2c42012-03-24 01:43:261// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]e6b5bc22011-09-08 22:01:562// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
6#define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
[email protected]e6b5bc22011-09-08 22:01:567
8#include "chrome/browser/chrome_browser_main_posix.h"
9
[email protected]39fc5d322012-09-15 10:54:5510namespace chrome {
11class RemovableDeviceNotificationsMac;
12}
13
[email protected]e6b5bc22011-09-08 22:01:5614class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
15 public:
[email protected]4573fbd2011-10-31 20:25:1816 explicit ChromeBrowserMainPartsMac(
17 const content::MainFunctionParams& parameters);
[email protected]39fc5d322012-09-15 10:54:5518 virtual ~ChromeBrowserMainPartsMac();
[email protected]e6b5bc22011-09-08 22:01:5619
[email protected]b48c9182011-10-26 18:03:3020 // BrowserParts overrides.
[email protected]e6b5bc22011-09-08 22:01:5621 virtual void PreEarlyInitialization() OVERRIDE;
22 virtual void PreMainMessageLoopStart() OVERRIDE;
[email protected]39fc5d322012-09-15 10:54:5523 virtual void PreProfileInit() OVERRIDE;
[email protected]03d8d3e92011-09-20 06:07:1124
25 // Perform platform-specific work that needs to be done after the main event
26 // loop has ended. The embedder must be sure to call this.
27 static void DidEndMainMessageLoop();
[email protected]81ce2c42012-03-24 01:43:2628
29 private:
[email protected]39fc5d322012-09-15 10:54:5530 scoped_ptr<chrome::RemovableDeviceNotificationsMac>
31 removable_device_notifications_mac_;
32
[email protected]81ce2c42012-03-24 01:43:2633 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
[email protected]e6b5bc22011-09-08 22:01:5634};
35
36#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_