Introduce ProfilerMetricsProvider
[chromium-blink-merge.git] / chrome / browser / chrome_browser_main_mac.h
blob621c8dfec22931ae72556fedac28d194b4fb1960
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
8 #include "chrome/browser/chrome_browser_main_posix.h"
10 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
11 public:
12 explicit ChromeBrowserMainPartsMac(
13 const content::MainFunctionParams& parameters);
14 virtual ~ChromeBrowserMainPartsMac();
16 // BrowserParts overrides.
17 virtual void PreEarlyInitialization() OVERRIDE;
18 virtual void PreMainMessageLoopStart() OVERRIDE;
19 virtual void PreProfileInit() OVERRIDE;
20 virtual void PostProfileInit() OVERRIDE;
22 // Perform platform-specific work that needs to be done after the main event
23 // loop has ended. The embedder must be sure to call this.
24 static void DidEndMainMessageLoop();
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
30 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_