Popular sites on the NTP: re-download popular suggestions once per Chrome run
[chromium-blink-merge.git] / chrome / browser / chrome_browser_main_android.h
blob6facf02044d605ca2db623aa6c730fb3a46a3e7f
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 namespace breakpad {
11 class CrashDumpManager;
14 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts {
15 public:
16 explicit ChromeBrowserMainPartsAndroid(
17 const content::MainFunctionParams& parameters);
18 ~ChromeBrowserMainPartsAndroid() override;
20 // content::BrowserMainParts overrides.
21 int PreCreateThreads() override;
22 void PostProfileInit() override;
23 void PreEarlyInitialization() override;
24 void PreMainMessageLoopRun() override;
26 // ChromeBrowserMainParts overrides.
27 void PostBrowserStart() override;
28 void ShowMissingLocaleMessageBox() override;
30 private:
31 scoped_ptr<base::MessageLoop> main_message_loop_;
32 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_;
34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid);
37 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_