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 #include "chrome/android/testshell/chrome_main_delegate_testshell_android.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
11 static const char kDefaultCountryCode
[] = "US";
13 ChromeMainDelegateAndroid
* ChromeMainDelegateAndroid::Create() {
14 return new ChromeMainDelegateTestShellAndroid();
17 ChromeMainDelegateTestShellAndroid::ChromeMainDelegateTestShellAndroid() {
20 ChromeMainDelegateTestShellAndroid::~ChromeMainDelegateTestShellAndroid() {
23 bool ChromeMainDelegateTestShellAndroid::BasicStartupComplete(int* exit_code
) {
24 TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode
);
25 return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code
);