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

Unified Diff: components/invalidation/mock_ack_handler.h

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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
« no previous file with comments | « components/invalidation/invalidator_test_template.h ('k') | components/invalidation/mock_ack_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/mock_ack_handler.h
diff --git a/sync/notifier/mock_ack_handler.h b/components/invalidation/mock_ack_handler.h
similarity index 87%
rename from sync/notifier/mock_ack_handler.h
rename to components/invalidation/mock_ack_handler.h
index 08f053925975834933566c3bedef14e1ce22d24c..112e5782c94e813fdabca1ed574f5c98eb2b991a 100644
--- a/sync/notifier/mock_ack_handler.h
+++ b/components/invalidation/mock_ack_handler.h
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_MOCK_ACK_HANDLER_H_
-#define SYNC_NOTIFIER_MOCK_ACK_HANDLER_H_
+#ifndef COMPONENTS_INVALIDATION_MOCK_ACK_HANDLER_H_
+#define COMPONENTS_INVALIDATION_MOCK_ACK_HANDLER_H_
#include <map>
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
+#include "sync/internal_api/public/base/ack_handler.h"
+#include "sync/internal_api/public/base/invalidation_util.h"
#include "sync/internal_api/public/util/weak_handle.h"
-#include "sync/notifier/ack_handler.h"
-#include "sync/notifier/invalidation_util.h"
namespace syncer {
@@ -21,7 +21,7 @@ class Invalidation;
// This AckHandler implementation colaborates with the FakeInvalidationService
// to enable unit tests to assert that invalidations are being acked properly.
-class SYNC_EXPORT MockAckHandler
+class INVALIDATION_EXPORT MockAckHandler
: public AckHandler,
public base::SupportsWeakPtr<MockAckHandler> {
public:
@@ -80,4 +80,4 @@ class SYNC_EXPORT MockAckHandler
} // namespace syncer
-#endif // SYNC_NOTIFIER_MOCK_ACK_HANDLER_H_
+#endif // COMPONENTS_INVALIDATION_MOCK_ACK_HANDLER_H_
« no previous file with comments | « components/invalidation/invalidator_test_template.h ('k') | components/invalidation/mock_ack_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698