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

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

Issue 16703025: [StorageMonitor] Move StorageMonitor ownership to BrowserProcessImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catch up to SystemInfoStorage eject test Created 7 years, 5 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
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/chrome_browser_main_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chrome_browser_main_posix.h" 8 #include "chrome/browser/chrome_browser_main_posix.h"
10 9
11 namespace chrome {
12 class StorageMonitorMac;
13 }
14
15 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { 10 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
16 public: 11 public:
17 explicit ChromeBrowserMainPartsMac( 12 explicit ChromeBrowserMainPartsMac(
18 const content::MainFunctionParams& parameters); 13 const content::MainFunctionParams& parameters);
19 virtual ~ChromeBrowserMainPartsMac(); 14 virtual ~ChromeBrowserMainPartsMac();
20 15
21 // BrowserParts overrides. 16 // BrowserParts overrides.
22 virtual void PreEarlyInitialization() OVERRIDE; 17 virtual void PreEarlyInitialization() OVERRIDE;
23 virtual void PreMainMessageLoopStart() OVERRIDE; 18 virtual void PreMainMessageLoopStart() OVERRIDE;
24 virtual void PreProfileInit() OVERRIDE;
25 virtual void PostProfileInit() OVERRIDE; 19 virtual void PostProfileInit() OVERRIDE;
26 20
27 // 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
28 // loop has ended. The embedder must be sure to call this. 22 // loop has ended. The embedder must be sure to call this.
29 static void DidEndMainMessageLoop(); 23 static void DidEndMainMessageLoop();
30 24
31 private: 25 private:
32 scoped_ptr<chrome::StorageMonitorMac> storage_monitor_;
33
34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); 26 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
35 }; 27 };
36 28
37 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ 29 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/chrome_browser_main_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698