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

Side by Side Diff: sync/engine/get_updates_delegate.cc

Issue 161253002: sync: Add interfaces for per-type sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another win compile fix Created 6 years, 10 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
« no previous file with comments | « sync/engine/download_unittest.cc ('k') | sync/engine/get_updates_processor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sync/engine/get_updates_delegate.h" 5 #include "sync/engine/get_updates_delegate.h"
6 6
7 #include "sync/engine/directory_update_handler.h"
7 #include "sync/engine/get_updates_processor.h" 8 #include "sync/engine/get_updates_processor.h"
8 #include "sync/engine/sync_directory_update_handler.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 namespace { 12 namespace {
13 13
14 void NonPassiveApplyUpdates( 14 void NonPassiveApplyUpdates(
15 sessions::StatusController* status_controller, 15 sessions::StatusController* status_controller,
16 UpdateHandlerMap* update_handler_map) { 16 UpdateHandlerMap* update_handler_map) {
17 for (UpdateHandlerMap::iterator it = update_handler_map->begin(); 17 for (UpdateHandlerMap::iterator it = update_handler_map->begin();
18 it != update_handler_map->end(); ++it) { 18 it != update_handler_map->end(); ++it) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 get_updates->set_get_updates_origin(sync_pb::SyncEnums::PERIODIC); 146 get_updates->set_get_updates_origin(sync_pb::SyncEnums::PERIODIC);
147 } 147 }
148 148
149 void PollGetUpdatesDelegate::ApplyUpdates( 149 void PollGetUpdatesDelegate::ApplyUpdates(
150 sessions::StatusController* status_controller, 150 sessions::StatusController* status_controller,
151 UpdateHandlerMap* update_handler_map) const { 151 UpdateHandlerMap* update_handler_map) const {
152 NonPassiveApplyUpdates(status_controller, update_handler_map); 152 NonPassiveApplyUpdates(status_controller, update_handler_map);
153 } 153 }
154 154
155 } // namespace syncer 155 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/download_unittest.cc ('k') | sync/engine/get_updates_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698