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

Side by Side Diff: sync/engine/net/server_connection_manager.cc

Issue 10735041: Remove syncproto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address most comments Created 8 years, 5 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_updates_command.cc ('k') | sync/engine/process_commit_response_command.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 (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 "sync/engine/net/server_connection_manager.h" 5 #include "sync/engine/net/server_connection_manager.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 8
9 #include <ostream> 9 #include <ostream>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/http/http_status_code.h" 16 #include "net/http/http_status_code.h"
17 #include "sync/engine/net/url_translator.h" 17 #include "sync/engine/net/url_translator.h"
18 #include "sync/engine/syncer.h" 18 #include "sync/engine/syncer.h"
19 #include "sync/engine/syncproto.h"
20 #include "sync/protocol/sync.pb.h" 19 #include "sync/protocol/sync.pb.h"
21 #include "sync/syncable/directory.h" 20 #include "sync/syncable/directory.h"
22 21
23 namespace syncer { 22 namespace syncer {
24 23
25 using std::ostream; 24 using std::ostream;
26 using std::string; 25 using std::string;
27 using std::vector; 26 using std::vector;
28 27
29 static const char kSyncServerSyncPath[] = "/command/"; 28 static const char kSyncServerSyncPath[] = "/command/";
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 324
326 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) { 325 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) {
327 s << " Response Code (bogus on error): " << hr.response_code; 326 s << " Response Code (bogus on error): " << hr.response_code;
328 s << " Content-Length (bogus on error): " << hr.content_length; 327 s << " Content-Length (bogus on error): " << hr.content_length;
329 s << " Server Status: " 328 s << " Server Status: "
330 << HttpResponse::GetServerConnectionCodeString(hr.server_status); 329 << HttpResponse::GetServerConnectionCodeString(hr.server_status);
331 return s; 330 return s;
332 } 331 }
333 332
334 } // namespace syncer 333 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/download_updates_command.cc ('k') | sync/engine/process_commit_response_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698