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

Side by Side Diff: components/sync/engine_impl/get_updates_delegate.cc

Issue 2436863005: [Sync] Move events files around a bit. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/sync/engine_impl/get_updates_delegate.h" 5 #include "components/sync/engine_impl/get_updates_delegate.h"
6 6
7 #include "components/sync/engine/events/configure_get_updates_request_event.h"
8 #include "components/sync/engine/events/normal_get_updates_request_event.h"
9 #include "components/sync/engine/events/poll_get_updates_request_event.h"
10 #include "components/sync/engine_impl/directory_update_handler.h" 7 #include "components/sync/engine_impl/directory_update_handler.h"
8 #include "components/sync/engine_impl/events/configure_get_updates_request_event .h"
9 #include "components/sync/engine_impl/events/normal_get_updates_request_event.h"
10 #include "components/sync/engine_impl/events/poll_get_updates_request_event.h"
11 #include "components/sync/engine_impl/get_updates_processor.h" 11 #include "components/sync/engine_impl/get_updates_processor.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 namespace { 15 namespace {
16 16
17 void NonPassiveApplyUpdates(ModelTypeSet gu_types, 17 void NonPassiveApplyUpdates(ModelTypeSet gu_types,
18 StatusController* status_controller, 18 StatusController* status_controller,
19 UpdateHandlerMap* update_handler_map) { 19 UpdateHandlerMap* update_handler_map) {
20 for (UpdateHandlerMap::iterator it = update_handler_map->begin(); 20 for (UpdateHandlerMap::iterator it = update_handler_map->begin();
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 } 162 }
163 163
164 std::unique_ptr<ProtocolEvent> PollGetUpdatesDelegate::GetNetworkRequestEvent( 164 std::unique_ptr<ProtocolEvent> PollGetUpdatesDelegate::GetNetworkRequestEvent(
165 base::Time timestamp, 165 base::Time timestamp,
166 const sync_pb::ClientToServerMessage& request) const { 166 const sync_pb::ClientToServerMessage& request) const {
167 return std::unique_ptr<ProtocolEvent>( 167 return std::unique_ptr<ProtocolEvent>(
168 new PollGetUpdatesRequestEvent(timestamp, request)); 168 new PollGetUpdatesRequestEvent(timestamp, request));
169 } 169 }
170 170
171 } // namespace syncer 171 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698