OLD | NEW |
| (Empty) |
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_testshell_android.h" | |
6 | |
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" | |
10 | |
11 static const char kDefaultCountryCode[] = "US"; | |
12 | |
13 ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() { | |
14 return new ChromeMainDelegateTestShellAndroid(); | |
15 } | |
16 | |
17 ChromeMainDelegateTestShellAndroid::ChromeMainDelegateTestShellAndroid() { | |
18 } | |
19 | |
20 ChromeMainDelegateTestShellAndroid::~ChromeMainDelegateTestShellAndroid() { | |
21 } | |
22 | |
23 bool ChromeMainDelegateTestShellAndroid::BasicStartupComplete(int* exit_code) { | |
24 TemplateURLPrepopulateData::InitCountryCode(kDefaultCountryCode); | |
25 return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code); | |
26 } | |
27 | |
OLD | NEW |