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

Unified Diff: components/offline_items_collection/core/offline_content_aggregator.h

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: components/offline_items_collection/core/offline_content_aggregator.h
diff --git a/components/offline_items_collection/core/offline_content_aggregator.h b/components/offline_items_collection/core/offline_content_aggregator.h
index d5def0bf82cd4657742889bc0c90d3907be57387..344933b3bd4afda4c34c9f79e3bb9e1f854558f8 100644
--- a/components/offline_items_collection/core/offline_content_aggregator.h
+++ b/components/offline_items_collection/core/offline_content_aggregator.h
@@ -13,6 +13,7 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/supports_user_data.h"
+#include "components/keyed_service/core/keyed_service.h"
#include "components/offline_items_collection/core/offline_content_provider.h"
#include "url/gurl.h"
@@ -46,7 +47,7 @@ struct OfflineItem;
class OfflineContentAggregator : public OfflineContentProvider,
public OfflineContentProvider::Observer,
public base::SupportsUserData,
- public base::SupportsUserData::Data {
+ public KeyedService {
public:
OfflineContentAggregator();
~OfflineContentAggregator() override;

Powered by Google App Engine
This is Rietveld 408576698