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

Unified Diff: components/offline_items_collection/core/android/offline_content_aggregator_bridge.h

Issue 2835323005: Make the ThrottledOfflineContentProvider better (Closed)
Patch Set: Addressed comments Created 3 years, 8 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
« no previous file with comments | « no previous file | components/offline_items_collection/core/android/offline_content_aggregator_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a3a8cd071ef7753fc2b40346c7440f16891dd7c..e367edf468e188609cf88e3d45619d2004f4e1a0 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
@@ -15,6 +15,7 @@ namespace offline_items_collection {
struct ContentId;
struct OfflineItem;
+class ThrottledOfflineContentProvider;
namespace android {
@@ -90,7 +91,7 @@ class OfflineContentAggregatorBridge : public OfflineContentProvider::Observer,
// OfflineContentAggregatorBridge.java.
base::android::ScopedJavaGlobalRef<jobject> java_ref_;
- OfflineContentAggregator* const aggregator_;
+ std::unique_ptr<ThrottledOfflineContentProvider> provider_;
DISALLOW_COPY_AND_ASSIGN(OfflineContentAggregatorBridge);
};
« no previous file with comments | « no previous file | components/offline_items_collection/core/android/offline_content_aggregator_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698