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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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/syncer_proto_util.h ('k') | sync/engine/syncer_proto_util_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/sync/engine/syncer_proto_util.h" 5 #include "sync/engine/syncer_proto_util.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "chrome/browser/sync/engine/net/server_connection_manager.h" 9 #include "sync/engine/net/server_connection_manager.h"
10 #include "chrome/browser/sync/engine/syncer.h" 10 #include "sync/engine/syncer.h"
11 #include "chrome/browser/sync/engine/syncer_types.h" 11 #include "sync/engine/syncer_types.h"
12 #include "chrome/browser/sync/protocol/service_constants.h" 12 #include "sync/protocol/service_constants.h"
13 #include "chrome/browser/sync/protocol/sync_protocol_error.h"
14 #include "chrome/browser/sync/sessions/sync_session.h"
15 #include "chrome/browser/sync/syncable/model_type.h"
16 #include "chrome/browser/sync/syncable/syncable-inl.h"
17 #include "chrome/browser/sync/syncable/syncable.h"
18 #include "chrome/browser/sync/util/time.h"
19 #include "sync/protocol/sync.pb.h" 13 #include "sync/protocol/sync.pb.h"
20 #include "sync/protocol/sync_enums.pb.h" 14 #include "sync/protocol/sync_enums.pb.h"
15 #include "sync/protocol/sync_protocol_error.h"
16 #include "sync/sessions/sync_session.h"
17 #include "sync/syncable/model_type.h"
18 #include "sync/syncable/syncable-inl.h"
19 #include "sync/syncable/syncable.h"
20 #include "sync/util/time.h"
21 21
22 using browser_sync::SyncProtocolErrorType; 22 using browser_sync::SyncProtocolErrorType;
23 using std::string; 23 using std::string;
24 using std::stringstream; 24 using std::stringstream;
25 using syncable::BASE_VERSION; 25 using syncable::BASE_VERSION;
26 using syncable::CTIME; 26 using syncable::CTIME;
27 using syncable::ID; 27 using syncable::ID;
28 using syncable::IS_DEL; 28 using syncable::IS_DEL;
29 using syncable::IS_DIR; 29 using syncable::IS_DIR;
30 using syncable::IS_UNSYNCED; 30 using syncable::IS_UNSYNCED;
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 std::string SyncerProtoUtil::ClientToServerResponseDebugString( 528 std::string SyncerProtoUtil::ClientToServerResponseDebugString(
529 const sync_pb::ClientToServerResponse& response) { 529 const sync_pb::ClientToServerResponse& response) {
530 // Add more handlers as needed. 530 // Add more handlers as needed.
531 std::string output; 531 std::string output;
532 if (response.has_get_updates()) 532 if (response.has_get_updates())
533 output.append(GetUpdatesResponseString(response.get_updates())); 533 output.append(GetUpdatesResponseString(response.get_updates()));
534 return output; 534 return output;
535 } 535 }
536 536
537 } // namespace browser_sync 537 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/syncer_proto_util.h ('k') | sync/engine/syncer_proto_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698