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

Side by Side Diff: sync/engine/download.h

Issue 38803003: sync: Implement per-type update processing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 7 years, 1 month 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 | « no previous file | sync/engine/download.cc » ('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 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 #ifndef SYNC_ENGINE_DOWNLOAD_H_ 5 #ifndef SYNC_ENGINE_DOWNLOAD_H_
6 #define SYNC_ENGINE_DOWNLOAD_H_ 6 #define SYNC_ENGINE_DOWNLOAD_H_
7 7
8 #include "sync/base/sync_export.h" 8 #include "sync/base/sync_export.h"
9 #include "sync/internal_api/public/base/model_type.h" 9 #include "sync/internal_api/public/base/model_type.h"
10 #include "sync/internal_api/public/util/syncer_error.h" 10 #include "sync/internal_api/public/util/syncer_error.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // periodic polling. 48 // periodic polling.
49 SYNC_EXPORT_PRIVATE void BuildDownloadUpdatesForPoll( 49 SYNC_EXPORT_PRIVATE void BuildDownloadUpdatesForPoll(
50 sessions::SyncSession* session, 50 sessions::SyncSession* session,
51 bool create_mobile_bookmarks_folder, 51 bool create_mobile_bookmarks_folder,
52 ModelTypeSet request_types, 52 ModelTypeSet request_types,
53 sync_pb::ClientToServerMessage* client_to_server_message); 53 sync_pb::ClientToServerMessage* client_to_server_message);
54 54
55 // Sends the specified message to the server and stores the response in a member 55 // Sends the specified message to the server and stores the response in a member
56 // of the |session|'s StatusController. 56 // of the |session|'s StatusController.
57 SYNC_EXPORT_PRIVATE SyncerError 57 SYNC_EXPORT_PRIVATE SyncerError
58 ExecuteDownloadUpdates(sessions::SyncSession* session, 58 ExecuteDownloadUpdates(ModelTypeSet request_types,
59 sessions::SyncSession* session,
59 sync_pb::ClientToServerMessage* msg); 60 sync_pb::ClientToServerMessage* msg);
60 61
61 } // namespace syncer 62 } // namespace syncer
62 63
63 #endif // SYNC_ENGINE_DOWNLOAD_H_ 64 #endif // SYNC_ENGINE_DOWNLOAD_H_
OLDNEW
« no previous file with comments | « no previous file | sync/engine/download.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698