1 // Copyright 2014 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 #include "chrome/android/shell/chrome_main_delegate_chrome_shell_android.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "components/search_engines/template_url_prepopulate_data.h"
11 static const char kDefaultCountryCode
[] = "US";
13 ChromeMainDelegateAndroid
* ChromeMainDelegateAndroid::Create() {
14 return new ChromeMainDelegateChromeShellAndroid();
17 ChromeMainDelegateChromeShellAndroid::ChromeMainDelegateChromeShellAndroid() {
20 ChromeMainDelegateChromeShellAndroid::~ChromeMainDelegateChromeShellAndroid() {
23 bool ChromeMainDelegateChromeShellAndroid::BasicStartupComplete(
25 TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode
);
26 return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code
);