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 "chrome/browser/chrome_browser_main_posix.h" | 8 #include "chrome/browser/chrome_browser_main_posix.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 virtual void PreProfileInit() OVERRIDE; | 24 virtual void PreProfileInit() OVERRIDE; |
| 25 | 25 |
| 26 // Perform platform-specific work that needs to be done after the main event | 26 // 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. | 27 // loop has ended. The embedder must be sure to call this. |
| 28 static void DidEndMainMessageLoop(); | 28 static void DidEndMainMessageLoop(); |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 scoped_refptr<chrome::RemovableDeviceNotificationsMac> | 31 scoped_refptr<chrome::RemovableDeviceNotificationsMac> |
| 32 removable_device_notifications_mac_; | 32 removable_device_notifications_mac_; |
| 33 | 33 |
| 34 class Inner; | |
| 35 | |
| 36 // Hide scoped_nsobject members from C++. | |
| 37 scoped_ptr<Inner> inner_; | |
|
sail
2012/12/13 02:14:00
this needs to reference a C++ class in system_moni
Greg Billock
2012/12/14 00:39:59
We want to keep this device notifications stuff in
| |
| 38 | |
| 34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); | 39 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); |
| 35 }; | 40 }; |
| 36 | 41 |
| 37 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | 42 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |
| OLD | NEW |