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.
4
5#include "chrome/android/shell/chrome_main_delegate_chrome_shell_android.h"
6
7#include "base/android/jni_android.h"
8#include "base/android/jni_registrar.h"
9#include "components/search_engines/template_url_prepopulate_data.h"
10
11static const char kDefaultCountryCode[] = "US";
12
13ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
14  return new ChromeMainDelegateChromeShellAndroid();
15}
16
17ChromeMainDelegateChromeShellAndroid::ChromeMainDelegateChromeShellAndroid() {
18}
19
20ChromeMainDelegateChromeShellAndroid::~ChromeMainDelegateChromeShellAndroid() {
21}
22
23bool ChromeMainDelegateChromeShellAndroid::BasicStartupComplete(
24    int* exit_code) {
25  TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode);
26  return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
27}
28
29