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

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

Issue 970243003: Refactoring chrome JNI registration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
index bec75bf088ed7046043cb6ddc24fc8dba4c790cf..651a269c68a2c0be221b321a87698e10909b9064 100644
--- 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
@@ -13,9 +13,10 @@ class ChromeMainDelegateChromeSyncShellAndroid
ChromeMainDelegateChromeSyncShellAndroid();
~ChromeMainDelegateChromeSyncShellAndroid() override;
- bool RegisterApplicationNativeMethods(JNIEnv* env) override;
-
bool BasicStartupComplete(int* exit_code) override;
+ int RunProcess(
+ const std::string& process_type,
+ const content::MainFunctionParams& main_function_params) override;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid);

Powered by Google App Engine
This is Rietveld 408576698