Home | History | Annotate | Download | only in browser
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_
      6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_
      7 
      8 #include "chrome/browser/chrome_browser_main.h"
      9 
     10 class GoogleSearchCounterAndroid;
     11 
     12 namespace breakpad {
     13 class CrashDumpManager;
     14 }
     15 
     16 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts {
     17  public:
     18   explicit ChromeBrowserMainPartsAndroid(
     19       const content::MainFunctionParams& parameters);
     20   virtual ~ChromeBrowserMainPartsAndroid();
     21 
     22   // content::BrowserMainParts overrides.
     23   virtual void PreProfileInit() OVERRIDE;
     24   virtual void PostProfileInit() OVERRIDE;
     25   virtual void PreEarlyInitialization() OVERRIDE;
     26 
     27   // ChromeBrowserMainParts overrides.
     28   virtual void ShowMissingLocaleMessageBox() OVERRIDE;
     29 
     30  private:
     31   scoped_ptr<base::MessageLoop> main_message_loop_;
     32   scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_;
     33   scoped_ptr<GoogleSearchCounterAndroid> search_counter_;
     34 
     35   DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid);
     36 };
     37 
     38 #endif  // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_
     39