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 // Contains functions used by BrowserMain() that are linux-specific. | 5 // Contains functions used by BrowserMain() that are linux-specific. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ |
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
Lei Zhang
2013/06/27 00:09:38
remove
Greg Billock
2013/06/27 18:25:43
Done.
| |
12 #include "chrome/browser/chrome_browser_main_posix.h" | 12 #include "chrome/browser/chrome_browser_main_posix.h" |
13 | 13 |
14 #if !defined(OS_CHROMEOS) | |
15 namespace chrome { | |
16 class StorageMonitorLinux; | |
17 } | |
18 #endif | |
19 | |
20 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { | 14 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { |
21 public: | 15 public: |
22 explicit ChromeBrowserMainPartsLinux( | 16 explicit ChromeBrowserMainPartsLinux( |
23 const content::MainFunctionParams& parameters); | 17 const content::MainFunctionParams& parameters); |
24 virtual ~ChromeBrowserMainPartsLinux(); | 18 virtual ~ChromeBrowserMainPartsLinux(); |
25 | 19 |
26 // ChromeBrowserMainParts overrides. | 20 // ChromeBrowserMainParts overrides. |
27 virtual void PreProfileInit() OVERRIDE; | 21 virtual void PreProfileInit() OVERRIDE; |
28 virtual void PostMainMessageLoopRun() OVERRIDE; | |
29 | 22 |
30 private: | 23 private: |
31 #if !defined(OS_CHROMEOS) | |
32 scoped_ptr<chrome::StorageMonitorLinux> storage_monitor_; | |
33 #endif | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); | 24 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); |
36 }; | 25 }; |
37 | 26 |
38 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ | 27 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ |
OLD | NEW |