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/macros.h" |
11 #include "chrome/browser/chrome_browser_main_posix.h" | 12 #include "chrome/browser/chrome_browser_main_posix.h" |
12 | 13 |
13 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { | 14 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { |
14 public: | 15 public: |
15 explicit ChromeBrowserMainPartsLinux( | 16 explicit ChromeBrowserMainPartsLinux( |
16 const content::MainFunctionParams& parameters); | 17 const content::MainFunctionParams& parameters); |
17 ~ChromeBrowserMainPartsLinux() override; | 18 ~ChromeBrowserMainPartsLinux() override; |
18 | 19 |
19 // ChromeBrowserMainParts overrides. | 20 // ChromeBrowserMainParts overrides. |
20 void ToolkitInitialized() override; | 21 void ToolkitInitialized() override; |
21 void PreProfileInit() override; | 22 void PreProfileInit() override; |
22 void PostProfileInit() override; | 23 void PostProfileInit() override; |
23 void PostMainMessageLoopStart() override; | 24 void PostMainMessageLoopStart() override; |
24 void PostDestroyThreads() override; | 25 void PostDestroyThreads() override; |
25 | 26 |
26 private: | 27 private: |
27 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); | 28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); |
28 }; | 29 }; |
29 | 30 |
30 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ | 31 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ |
OLD | NEW |