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