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

Side by Side Diff: components/sync/engine_impl/get_updates_processor.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 SyncCycle* cycle, 67 SyncCycle* cycle,
68 sync_pb::ClientToServerMessage* msg); 68 sync_pb::ClientToServerMessage* msg);
69 69
70 // Helper function for processing responses from the server. Defined here for 70 // Helper function for processing responses from the server. Defined here for
71 // testing. 71 // testing.
72 SyncerError ProcessResponse(const sync_pb::GetUpdatesResponse& gu_response, 72 SyncerError ProcessResponse(const sync_pb::GetUpdatesResponse& gu_response,
73 ModelTypeSet proto_request_types, 73 ModelTypeSet proto_request_types,
74 StatusController* status); 74 StatusController* status);
75 75
76 // Processes a GetUpdates responses for each type. 76 // Processes a GetUpdates responses for each type.
77 SyncerError ProcessGetUpdatesResponse( 77 syncer::SyncerError ProcessGetUpdatesResponse(
78 ModelTypeSet gu_types, 78 ModelTypeSet gu_types,
79 const sync_pb::GetUpdatesResponse& gu_response, 79 const sync_pb::GetUpdatesResponse& gu_response,
80 StatusController* status_controller); 80 StatusController* status_controller);
81 81
82 static void CopyClientDebugInfo(DebugInfoGetter* debug_info_getter, 82 static void CopyClientDebugInfo(DebugInfoGetter* debug_info_getter,
83 sync_pb::DebugInfo* debug_info); 83 sync_pb::DebugInfo* debug_info);
84 84
85 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, BookmarkNudge); 85 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, BookmarkNudge);
86 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, NotifyMany); 86 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, NotifyMany);
87 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, InitialSyncRequest); 87 FRIEND_TEST_ALL_PREFIXES(GetUpdatesProcessorTest, InitialSyncRequest);
(...skipping 14 matching lines...) Expand all
102 UpdateHandlerMap* update_handler_map_; 102 UpdateHandlerMap* update_handler_map_;
103 103
104 const GetUpdatesDelegate& delegate_; 104 const GetUpdatesDelegate& delegate_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(GetUpdatesProcessor); 106 DISALLOW_COPY_AND_ASSIGN(GetUpdatesProcessor);
107 }; 107 };
108 108
109 } // namespace syncer 109 } // namespace syncer
110 110
111 #endif // COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 111 #endif // COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/cycle/nudge_tracker_unittest.cc ('k') | components/sync/engine_impl/get_updates_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698