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

Side by Side Diff: components/invalidation/mock_ack_handler.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/notifier/mock_ack_handler.h" 5 #include "components/invalidation/mock_ack_handler.h"
6 6
7 #include "sync/internal_api/public/base/ack_handle.h" 7 #include "sync/internal_api/public/base/ack_handle.h"
8 #include "sync/internal_api/public/base/invalidation.h" 8 #include "sync/internal_api/public/base/invalidation.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 namespace { 12 namespace {
13 13
14 struct AckHandleMatcher { 14 struct AckHandleMatcher {
15 AckHandleMatcher(const AckHandle& handle); 15 AckHandleMatcher(const AckHandle& handle);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 unrecovered_drop_events_.erase(id); 115 unrecovered_drop_events_.erase(id);
116 unrecovered_drop_events_.insert(std::make_pair(id, handle)); 116 unrecovered_drop_events_.insert(std::make_pair(id, handle));
117 } 117 }
118 118
119 WeakHandle<AckHandler> MockAckHandler::WeakHandleThis() { 119 WeakHandle<AckHandler> MockAckHandler::WeakHandleThis() {
120 return WeakHandle<AckHandler>(AsWeakPtr()); 120 return WeakHandle<AckHandler>(AsWeakPtr());
121 } 121 }
122 122
123 } // namespace syncer 123 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/mock_ack_handler.h ('k') | components/invalidation/non_blocking_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698