| 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_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chrome_browser_main.h" | 8 #include "chrome/browser/chrome_browser_main.h" |
| 9 | 9 |
| 10 namespace breakpad { |
| 10 class CrashDumpManager; | 11 class CrashDumpManager; |
| 12 } |
| 11 | 13 |
| 12 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts { | 14 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts { |
| 13 public: | 15 public: |
| 14 explicit ChromeBrowserMainPartsAndroid( | 16 explicit ChromeBrowserMainPartsAndroid( |
| 15 const content::MainFunctionParams& parameters); | 17 const content::MainFunctionParams& parameters); |
| 16 virtual ~ChromeBrowserMainPartsAndroid(); | 18 virtual ~ChromeBrowserMainPartsAndroid(); |
| 17 | 19 |
| 18 // content::BrowserMainParts overrides. | 20 // content::BrowserMainParts overrides. |
| 19 virtual void PreProfileInit() OVERRIDE; | 21 virtual void PreProfileInit() OVERRIDE; |
| 20 virtual void PreEarlyInitialization() OVERRIDE; | 22 virtual void PreEarlyInitialization() OVERRIDE; |
| 21 | 23 |
| 22 // ChromeBrowserMainParts overrides. | 24 // ChromeBrowserMainParts overrides. |
| 23 virtual void ShowMissingLocaleMessageBox() OVERRIDE; | 25 virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
| 24 | 26 |
| 25 private: | 27 private: |
| 26 scoped_ptr<base::MessageLoop> main_message_loop_; | 28 scoped_ptr<base::MessageLoop> main_message_loop_; |
| 27 scoped_ptr<CrashDumpManager> crash_dump_manager_; | 29 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_; |
| 28 | 30 |
| 29 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid); | 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid); |
| 30 }; | 32 }; |
| 31 | 33 |
| 32 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ | 34 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ |
| OLD | NEW |