| Index: components/ntp_snippets/breaking_news/subscription_manager.h
|
| diff --git a/components/ntp_snippets/breaking_news/subscription_manager.h b/components/ntp_snippets/breaking_news/subscription_manager.h
|
| index 9833611854293b252a7a9b494102d449c5886b91..8854797ca0626c61b753bc9745c272276bc373e8 100644
|
| --- a/components/ntp_snippets/breaking_news/subscription_manager.h
|
| +++ b/components/ntp_snippets/breaking_news/subscription_manager.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "components/ntp_snippets/breaking_news/subscription_json_request.h"
|
| #include "components/prefs/pref_registry_simple.h"
|
| +#include "components/version_info/version_info.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -14,6 +15,14 @@ class PrefRegistrySimple;
|
|
|
| namespace ntp_snippets {
|
|
|
| +// Returns the appropriate API endpoint for subscribing for push updates, in
|
| +// consideration of the channel and field trial parameters.
|
| +GURL GetPushUpdatesSubscriptionEndpoint(version_info::Channel channel);
|
| +
|
| +// Returns the appropriate API endpoint for unsubscribing for push updates, in
|
| +// consideration of the channel and field trial parameters.
|
| +GURL GetPushUpdatesUnsubscriptionEndpoint(version_info::Channel channel);
|
| +
|
| // Class that wraps around the functionality of SubscriptionJsonRequest. It uses
|
| // the SubscriptionJsonRequest to send subscription and unsubscription requests
|
| // to the content suggestions server and does the bookkeeping for the data used
|
|
|