Don't crash when SimpleCache index is corrupt.
[chromium-blink-merge.git] / chrome / browser / chrome_browser_main_android.h
blob1439ac2be5c2ca5aa73c0893bfa9738aada07b38
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 CrashDumpManager;
12 class ChromeBrowserMainPartsAndroid : public ChromeBrowserMainParts {
13 public:
14 explicit ChromeBrowserMainPartsAndroid(
15 const content::MainFunctionParams& parameters);
16 virtual ~ChromeBrowserMainPartsAndroid();
18 // content::BrowserMainParts overrides.
19 virtual void PreProfileInit() OVERRIDE;
20 virtual void PreEarlyInitialization() OVERRIDE;
21 virtual int PreCreateThreads() OVERRIDE;
23 // ChromeBrowserMainParts overrides.
24 virtual void ShowMissingLocaleMessageBox() OVERRIDE;
26 private:
27 scoped_ptr<base::MessageLoop> main_message_loop_;
28 scoped_ptr<CrashDumpManager> crash_dump_manager_;
30 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsAndroid);
33 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_ANDROID_H_