Support SizeClassIdiom on iOS7.
[chromium-blink-merge.git] / chrome / browser / chrome_browser_main_android.h
bloba20f09080bbfcde263fd908c5322ed8043e589b5
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.
5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_
8 #include "chrome/browser/chrome_browser_main.h"
10 class GoogleSearchCounterAndroid;
12 namespace breakpad {
13 class CrashDumpManager;
16 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts {
17 public:
18 explicit ChromeBrowserMainPartsAndroid(
19 const content::MainFunctionParams& parameters);
20 ~ChromeBrowserMainPartsAndroid() override;
22 // content::BrowserMainParts overrides.
23 int PreCreateThreads() override;
24 void PostProfileInit() override;
25 void PreEarlyInitialization() override;
26 void PreMainMessageLoopRun() override;
28 // ChromeBrowserMainParts overrides.
29 void PostBrowserStart() override;
30 void ShowMissingLocaleMessageBox() override;
32 private:
33 scoped_ptr<base::MessageLoop> main_message_loop_;
34 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_;
35 scoped_ptr<GoogleSearchCounterAndroid> search_counter_;
37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid);
40 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_