summaryrefslogtreecommitdiffstats
path: root/chrome/android/shell/chrome_main_delegate_chrome_shell_android.cc
blob: 6e9b7c3a1177fd0ebef32b0775cce7d222fbaaae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/android/shell/chrome_main_delegate_chrome_shell_android.h"

#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "components/search_engines/template_url_prepopulate_data.h"

static const char kDefaultCountryCode[] = "US";

ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
  return new ChromeMainDelegateChromeShellAndroid();
}

ChromeMainDelegateChromeShellAndroid::ChromeMainDelegateChromeShellAndroid() {
}

ChromeMainDelegateChromeShellAndroid::~ChromeMainDelegateChromeShellAndroid() {
}

bool ChromeMainDelegateChromeShellAndroid::BasicStartupComplete(
    int* exit_code) {
  TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode);
  return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
}