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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 12313075: [sync] Upstream the Android ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index 808b488c9cea8e153e6d5aa998f978025cdbf280..87c3cc6c7b76e71602e173dbc4c98cf5eb97484e 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/history/android/sqlite_cursor.h"
#include "chrome/browser/lifetime/application_lifetime_android.h"
#include "chrome/browser/search_engines/template_url_service_android.h"
+#include "chrome/browser/sync/profile_sync_service_android.h"
#include "chrome/browser/ui/android/autofill/autofill_dialog_view_android.h"
#include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h"
#include "chrome/browser/ui/android/chrome_http_auth_handler.h"
@@ -54,6 +55,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog },
{ "NavigationPopup", NavigationPopup::RegisterNavigationPopup },
{ "ProcessUtils", RegisterProcessUtils },
+ { "ProfileSyncService", ProfileSyncServiceAndroid::Register },
{ "SqliteCursor", SQLiteCursor::RegisterSqliteCursor },
{ "TemplateUrlServiceAndroid", TemplateUrlServiceAndroid::Register },
{ "WebsiteSettingsPopupAndroid",

Powered by Google App Engine
This is Rietveld 408576698