Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: chrome/browser/chrome_browser_main_mac.h

Issue 12382005: Rename RemovableDeviceNotifications=>StorageMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some includes from recent merge. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 namespace chrome { 11 namespace chrome {
12 class ImageCaptureDeviceManager; 12 class ImageCaptureDeviceManager;
13 class RemovableDeviceNotificationsMac; 13 class StorageMonitorMac;
14 } 14 }
15 15
16 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { 16 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
17 public: 17 public:
18 explicit ChromeBrowserMainPartsMac( 18 explicit ChromeBrowserMainPartsMac(
19 const content::MainFunctionParams& parameters); 19 const content::MainFunctionParams& parameters);
20 virtual ~ChromeBrowserMainPartsMac(); 20 virtual ~ChromeBrowserMainPartsMac();
21 21
22 // BrowserParts overrides. 22 // BrowserParts overrides.
23 virtual void PreEarlyInitialization() OVERRIDE; 23 virtual void PreEarlyInitialization() OVERRIDE;
24 virtual void PreMainMessageLoopStart() OVERRIDE; 24 virtual void PreMainMessageLoopStart() OVERRIDE;
25 virtual void PreProfileInit() OVERRIDE; 25 virtual void PreProfileInit() OVERRIDE;
26 26
27 // Perform platform-specific work that needs to be done after the main event 27 // Perform platform-specific work that needs to be done after the main event
28 // loop has ended. The embedder must be sure to call this. 28 // loop has ended. The embedder must be sure to call this.
29 static void DidEndMainMessageLoop(); 29 static void DidEndMainMessageLoop();
30 30
31 private: 31 private:
32 scoped_refptr<chrome::RemovableDeviceNotificationsMac> 32 scoped_refptr<chrome::StorageMonitorMac>
33 removable_device_notifications_mac_; 33 storage_monitor_mac_;
vandebo (ex-Chrome) 2013/03/01 19:47:39 nit: line wrap
34 34
35 scoped_ptr<chrome::ImageCaptureDeviceManager> image_capture_device_manager_; 35 scoped_ptr<chrome::ImageCaptureDeviceManager> image_capture_device_manager_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); 37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ 40 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698