| 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 class GoogleSearchCounterAndroid; |
| 11 |
| 10 namespace breakpad { | 12 namespace breakpad { |
| 11 class CrashDumpManager; | 13 class CrashDumpManager; |
| 12 } | 14 } |
| 13 | 15 |
| 14 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts { | 16 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts { |
| 15 public: | 17 public: |
| 16 explicit ChromeBrowserMainPartsAndroid( | 18 explicit ChromeBrowserMainPartsAndroid( |
| 17 const content::MainFunctionParams& parameters); | 19 const content::MainFunctionParams& parameters); |
| 18 virtual ~ChromeBrowserMainPartsAndroid(); | 20 virtual ~ChromeBrowserMainPartsAndroid(); |
| 19 | 21 |
| 20 // content::BrowserMainParts overrides. | 22 // content::BrowserMainParts overrides. |
| 21 virtual void PreProfileInit() OVERRIDE; | 23 virtual void PreProfileInit() OVERRIDE; |
| 24 virtual void PostProfileInit() OVERRIDE; |
| 22 virtual void PreEarlyInitialization() OVERRIDE; | 25 virtual void PreEarlyInitialization() OVERRIDE; |
| 23 | 26 |
| 24 // ChromeBrowserMainParts overrides. | 27 // ChromeBrowserMainParts overrides. |
| 25 virtual void ShowMissingLocaleMessageBox() OVERRIDE; | 28 virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
| 26 | 29 |
| 27 private: | 30 private: |
| 28 scoped_ptr<base::MessageLoop> main_message_loop_; | 31 scoped_ptr<base::MessageLoop> main_message_loop_; |
| 29 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_; | 32 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_; |
| 33 scoped_ptr<GoogleSearchCounterAndroid> search_counter_; |
| 30 | 34 |
| 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid); | 35 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid); |
| 32 }; | 36 }; |
| 33 | 37 |
| 34 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ | 38 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_ |
| OLD | NEW |