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

Unified Diff: components/invalidation/gcm_network_channel.h

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/invalidation/gcm_network_channel.h
diff --git a/sync/notifier/gcm_network_channel.h b/components/invalidation/gcm_network_channel.h
similarity index 91%
rename from sync/notifier/gcm_network_channel.h
rename to components/invalidation/gcm_network_channel.h
index 5f86ce768d35e70af24e788f552c3be3642acaed..e9a513125ead55ff86698c2047ee4ca5af8a7db4 100644
--- a/sync/notifier/gcm_network_channel.h
+++ b/components/invalidation/gcm_network_channel.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_GCM_NETWORK_CHANNEL_H_
-#define SYNC_NOTIFIER_GCM_NETWORK_CHANNEL_H_
+#ifndef COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_
+#define COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_
#include <string>
@@ -11,12 +11,12 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
+#include "components/invalidation/gcm_network_channel_delegate.h"
+#include "components/invalidation/invalidation_export.h"
+#include "components/invalidation/sync_system_resources.h"
#include "net/base/backoff_entry.h"
#include "net/base/network_change_notifier.h"
#include "net/url_request/url_fetcher_delegate.h"
-#include "sync/base/sync_export.h"
-#include "sync/notifier/gcm_network_channel_delegate.h"
-#include "sync/notifier/sync_system_resources.h"
#include "url/gurl.h"
class GoogleServiceAuthError;
@@ -46,7 +46,7 @@ struct GCMNetworkChannelDiagnostic {
// GCMNetworkChannel is an implementation of SyncNetworkChannel that routes
// messages through GCMService.
-class SYNC_EXPORT_PRIVATE GCMNetworkChannel
+class INVALIDATION_EXPORT_PRIVATE GCMNetworkChannel
: public SyncNetworkChannel,
public net::URLFetcherDelegate,
public net::NetworkChangeNotifier::NetworkChangeObserver,
@@ -132,4 +132,4 @@ class SYNC_EXPORT_PRIVATE GCMNetworkChannel
} // namespace syncer
-#endif // SYNC_NOTIFIER_GCM_NETWORK_CHANNEL_H_
+#endif // COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_
« no previous file with comments | « components/invalidation/fake_invalidator_unittest.cc ('k') | components/invalidation/gcm_network_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698