blob: 325ee6f6618daa49a05f34baf496ec9a4d72789b (
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
29
30
|
// Copyright (c) 2012 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/testshell/chrome_main_delegate_testshell_android.h"
#include "base/android/jni_android.h"
#include "chrome/browser/search_engines/template_url_prepopulate_data.h"
static const char kDefaultCountryCode[] = "US";
ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
return new ChromeMainDelegateTestShellAndroid();
}
ChromeMainDelegateTestShellAndroid::ChromeMainDelegateTestShellAndroid() {
}
ChromeMainDelegateTestShellAndroid::~ChromeMainDelegateTestShellAndroid() {
}
bool ChromeMainDelegateTestShellAndroid::BasicStartupComplete(int* exit_code) {
TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode);
return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
}
bool ChromeMainDelegateTestShellAndroid::RegisterApplicationNativeMethods(
JNIEnv* env) {
return ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env);
}
|