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

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

Issue 457883002: Use Sync FakeServer in Android tests via custom APK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add readme Created 6 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.h
diff --git a/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h b/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..1ef2b14ac39757589ed5c8e962d1a4de51724758
--- /dev/null
+++ b/chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h
@@ -0,0 +1,24 @@
+// 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.
+
+#ifndef CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
+#define CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
+
+#include "chrome/app/android/chrome_main_delegate_android.h"
+
+class ChromeMainDelegateChromeSyncShellAndroid
+ : public ChromeMainDelegateAndroid {
+ public:
+ ChromeMainDelegateChromeSyncShellAndroid();
+ virtual ~ChromeMainDelegateChromeSyncShellAndroid();
+
+ virtual bool RegisterApplicationNativeMethods(JNIEnv* env) OVERRIDE;
+
+ virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid);
+};
+
+#endif // CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698