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

Unified Diff: components/offline_pages/core/background/network_quality_provider_stub.h

Issue 2848703004: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: rev 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
Index: components/offline_pages/core/background/network_quality_provider_stub.h
diff --git a/components/offline_pages/core/background/network_quality_provider_stub.h b/components/offline_pages/core/background/network_quality_provider_stub.h
index 525e1141f391787b4b8e098dc742c834cbebd298..54923f02392c1bf6e8c962e03530554c3cb3cb80 100644
--- a/components/offline_pages/core/background/network_quality_provider_stub.h
+++ b/components/offline_pages/core/background/network_quality_provider_stub.h
@@ -23,7 +23,7 @@ class NetworkQualityProviderStub
static NetworkQualityProviderStub* GetUserData(
base::SupportsUserData* supports_user_data);
static void SetUserData(base::SupportsUserData* supports_user_data,
- NetworkQualityProviderStub* stub);
+ std::unique_ptr<NetworkQualityProviderStub> stub);
net::EffectiveConnectionType GetEffectiveConnectionType() const override;

Powered by Google App Engine
This is Rietveld 408576698