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

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

Issue 2729983002: Attaches OfflineContentAggregator to Profile (Closed)
Patch Set: Created 3 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/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 4c4df8699480315772cc4759467d756010a3524e..8121e6c282cd646417541c83e80239feaa7b3309 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -43,6 +43,7 @@
#include "chrome/browser/android/download/chrome_download_delegate.h"
#include "chrome/browser/android/download/download_controller.h"
#include "chrome/browser/android/download/download_manager_service.h"
+#include "chrome/browser/android/download/items/offline_content_aggregator_factory_android.h"
#include "chrome/browser/android/download/ui/thumbnail_provider.h"
#include "chrome/browser/android/favicon_helper.h"
#include "chrome/browser/android/feature_utilities.h"
@@ -210,6 +211,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"GCMDriver", gcm::android::RegisterGCMDriverJni},
{"InstanceID", instance_id::android::RegisterInstanceIDJni},
{"Invalidation", invalidation::android::RegisterInvalidationJni},
+ {"OfflineContentAggregator", RegisterOfflineContentAggregatorFactoryJni},
{"Policy", policy::android::RegisterPolicy},
{"SafeJson", safe_json::android::RegisterSafeJsonJni},
{"Signin", signin::android::RegisterSigninJni},

Powered by Google App Engine
This is Rietveld 408576698