| 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 e30447d36432ebff63177ffedfe4fb33f977c0d2..5b9d289abb0e3b75c36949f3a2b11ad731291cf6 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,10 @@ class PrefRegistrySimple;
|
|
|
| namespace ntp_snippets {
|
|
|
| +// Returns the appropriate API endpoint for subscribing for push updates, in
|
| +// consideration of the channel and variation parameters.
|
| +GURL GetPushUpdatesSubscriptionEndpoint(version_info::Channel channel);
|
| +
|
| class SubscriptionManager {
|
| public:
|
| SubscriptionManager(
|
|
|