Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
|
Lei Zhang
2013/06/27 00:09:38
remove
Greg Billock
2013/06/27 18:25:43
Done.
| |
| 9 #include "chrome/browser/chrome_browser_main_posix.h" | 9 #include "chrome/browser/chrome_browser_main_posix.h" |
| 10 | 10 |
| 11 namespace chrome { | |
| 12 class StorageMonitorMac; | |
| 13 } | |
| 14 | |
| 15 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { | 11 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { |
| 16 public: | 12 public: |
| 17 explicit ChromeBrowserMainPartsMac( | 13 explicit ChromeBrowserMainPartsMac( |
| 18 const content::MainFunctionParams& parameters); | 14 const content::MainFunctionParams& parameters); |
| 19 virtual ~ChromeBrowserMainPartsMac(); | 15 virtual ~ChromeBrowserMainPartsMac(); |
| 20 | 16 |
| 21 // BrowserParts overrides. | 17 // BrowserParts overrides. |
| 22 virtual void PreEarlyInitialization() OVERRIDE; | 18 virtual void PreEarlyInitialization() OVERRIDE; |
| 23 virtual void PreMainMessageLoopStart() OVERRIDE; | 19 virtual void PreMainMessageLoopStart() OVERRIDE; |
| 24 virtual void PreProfileInit() OVERRIDE; | |
| 25 | 20 |
| 26 // Perform platform-specific work that needs to be done after the main event | 21 // Perform platform-specific work that needs to be done after the main event |
| 27 // loop has ended. The embedder must be sure to call this. | 22 // loop has ended. The embedder must be sure to call this. |
| 28 static void DidEndMainMessageLoop(); | 23 static void DidEndMainMessageLoop(); |
| 29 | 24 |
| 30 private: | 25 private: |
| 31 scoped_ptr<chrome::StorageMonitorMac> storage_monitor_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); | 26 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); |
| 34 }; | 27 }; |
| 35 | 28 |
| 36 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 29 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| OLD | NEW |