| 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 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/chrome_browser_main.h" | 9 #include "chrome/browser/chrome_browser_main.h" |
| 9 | 10 |
| 10 class ChromeBrowserMainPartsPosix : public ChromeBrowserMainParts { | 11 class ChromeBrowserMainPartsPosix : public ChromeBrowserMainParts { |
| 11 public: | 12 public: |
| 12 explicit ChromeBrowserMainPartsPosix( | 13 explicit ChromeBrowserMainPartsPosix( |
| 13 const content::MainFunctionParams& parameters); | 14 const content::MainFunctionParams& parameters); |
| 14 | 15 |
| 15 // content::BrowserMainParts overrides. | 16 // content::BrowserMainParts overrides. |
| 16 void PreEarlyInitialization() override; | 17 void PreEarlyInitialization() override; |
| 17 void PostMainMessageLoopStart() override; | 18 void PostMainMessageLoopStart() override; |
| 18 | 19 |
| 19 // ChromeBrowserMainParts overrides. | 20 // ChromeBrowserMainParts overrides. |
| 20 void ShowMissingLocaleMessageBox() override; | 21 void ShowMissingLocaleMessageBox() override; |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsPosix); | 24 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsPosix); |
| 24 }; | 25 }; |
| 25 | 26 |
| 26 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ | 27 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_POSIX_H_ |
| OLD | NEW |