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.
5 #include "chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "sync/test/fake_server/android/fake_server_helper_android.h"
11 ChromeMainDelegateAndroid
* ChromeMainDelegateAndroid::Create() {
12 return new ChromeMainDelegateChromeSyncShellAndroid();
15 ChromeMainDelegateChromeSyncShellAndroid::
16 ChromeMainDelegateChromeSyncShellAndroid() {
19 ChromeMainDelegateChromeSyncShellAndroid::
20 ~ChromeMainDelegateChromeSyncShellAndroid() {
24 ChromeMainDelegateChromeSyncShellAndroid::RegisterApplicationNativeMethods(
26 return ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env
) &&
27 FakeServerHelperAndroid::Register(env
);
30 bool ChromeMainDelegateChromeSyncShellAndroid::BasicStartupComplete(
32 return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code
);