Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5571)

Unified Diff: chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc

Issue 1282603005: Convert ChromeSyncShell to use ChromePublic infrastructure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-land version Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
diff --git a/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc b/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
deleted file mode 100644
index bcf45e527ea546911adc6d5e0fc3025c8f8576b1..0000000000000000000000000000000000000000
--- a/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_registrar.h"
-#include "sync/test/fake_server/android/fake_server_helper_android.h"
-
-ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
- return new ChromeMainDelegateChromeSyncShellAndroid();
-}
-
-ChromeMainDelegateChromeSyncShellAndroid::
-ChromeMainDelegateChromeSyncShellAndroid() {
-}
-
-ChromeMainDelegateChromeSyncShellAndroid::
-~ChromeMainDelegateChromeSyncShellAndroid() {
-}
-
-bool ChromeMainDelegateChromeSyncShellAndroid::BasicStartupComplete(
- int* exit_code) {
- return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
-}
-
-int ChromeMainDelegateChromeSyncShellAndroid::RunProcess(
- const std::string& process_type,
- const content::MainFunctionParams& main_function_params) {
- if (process_type.empty()) {
- // This JNI registration can not be moved to JNI_OnLoad because
- // FakeServerHelper seems not known by class loader when shared library
- // is loaded.
- FakeServerHelperAndroid::Register(base::android::AttachCurrentThread());
- }
- return ChromeMainDelegateAndroid::RunProcess(process_type,
- main_function_params);
-}

Powered by Google App Engine
This is Rietveld 408576698