Commit 023060d8 authored by Marc Treib's avatar Marc Treib Committed by Commit Bot

Invalidations: Delete obsolete flag definitions

The flags (cmdline switches) kInvalidationUseGCMChannel and
kSyncNotificationHostPort were obsolete (never set or checked anymore),
so this CL removes them.

Bug: none
Change-Id: Id11dd81bae8fcb49b0b8b2f2eae4013cfd2a06f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944348
Commit-Queue: Marc Treib <treib@chromium.org>
Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org>
Auto-Submit: Marc Treib <treib@chromium.org>
Reviewed-by: default avatarMohamed Amir Yosef <mamir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720188}
parent 3f60692e
...@@ -7,14 +7,6 @@ ...@@ -7,14 +7,6 @@
namespace invalidation { namespace invalidation {
namespace switches { namespace switches {
#if defined(OS_CHROMEOS)
// Device invalidation service should use GCM network channel.
const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel";
#endif // OS_CHROMEOS
// Overrides the default host:port used for notifications.
const char kSyncNotificationHostPort[] = "sync-notification-host-port";
const base::Feature kFCMInvalidationsConservativeEnabling = { const base::Feature kFCMInvalidationsConservativeEnabling = {
"FCMInvalidationsConservativeEnabling", base::FEATURE_ENABLED_BY_DEFAULT}; "FCMInvalidationsConservativeEnabling", base::FEATURE_ENABLED_BY_DEFAULT};
......
...@@ -6,16 +6,10 @@ ...@@ -6,16 +6,10 @@
#define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SWITCHES_H #define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SWITCHES_H
#include "base/feature_list.h" #include "base/feature_list.h"
#include "build/build_config.h"
namespace invalidation { namespace invalidation {
namespace switches { namespace switches {
#if defined(OS_CHROMEOS)
extern const char kInvalidationUseGCMChannel[];
#endif // OS_CHROMEOS
extern const char kSyncNotificationHostPort[];
extern const base::Feature kFCMInvalidationsConservativeEnabling; extern const base::Feature kFCMInvalidationsConservativeEnabling;
extern const base::Feature kFCMInvalidationsStartOnceActiveAccountAvailable; extern const base::Feature kFCMInvalidationsStartOnceActiveAccountAvailable;
extern const base::Feature kFCMInvalidationsForSyncDontCheckVersion; extern const base::Feature kFCMInvalidationsForSyncDontCheckVersion;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment