| Index: components/offline_items_collection/core/android/offline_content_aggregator_bridge.h
|
| diff --git a/components/offline_items_collection/core/android/offline_content_aggregator_bridge.h b/components/offline_items_collection/core/android/offline_content_aggregator_bridge.h
|
| index 89dc2a9606623e168ecbbf43d365ff5833817c1c..5a291c6f1d681ef9e0ee2c5e35fcc8ca3a0079bd 100644
|
| --- a/components/offline_items_collection/core/android/offline_content_aggregator_bridge.h
|
| +++ b/components/offline_items_collection/core/android/offline_content_aggregator_bridge.h
|
| @@ -31,10 +31,10 @@ class OfflineContentAggregatorBridge : public OfflineContentProvider::Observer,
|
| // Helper method to initialize the JNI hooks between Java and C++.
|
| static bool Register(JNIEnv* env);
|
|
|
| - // Returns an OfflineContentAggregatorBridge for |aggregator|. There will be
|
| - // only one bridge per OfflineContentAggregator.
|
| - static OfflineContentAggregatorBridge* GetForOfflineContentAggregator(
|
| - OfflineContentAggregator* aggregator);
|
| + // Returns a Java OfflineContentAggregatorBridge for |aggregator|. There will
|
| + // be only one bridge per OfflineContentAggregator.
|
| + static base::android::ScopedJavaLocalRef<jobject>
|
| + GetBridgeForOfflineContentAggregator(OfflineContentAggregator* aggregator);
|
|
|
| ~OfflineContentAggregatorBridge() override;
|
|
|
|
|