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

Side by Side Diff: sync/engine/net/server_connection_manager.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/net/server_connection_manager.h ('k') | sync/engine/net/url_translator.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 "chrome/browser/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 "chrome/browser/sync/engine/net/url_translator.h"
16 #include "chrome/browser/sync/engine/syncer.h"
17 #include "chrome/browser/sync/engine/syncproto.h"
18 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
19 #include "net/http/http_status_code.h" 16 #include "net/http/http_status_code.h"
17 #include "sync/engine/net/url_translator.h"
18 #include "sync/engine/syncer.h"
19 #include "sync/engine/syncproto.h"
20 #include "sync/protocol/sync.pb.h" 20 #include "sync/protocol/sync.pb.h"
21 21
22 namespace browser_sync { 22 namespace browser_sync {
23 23
24 using std::ostream; 24 using std::ostream;
25 using std::string; 25 using std::string;
26 using std::vector; 26 using std::vector;
27 27
28 static const char kSyncServerSyncPath[] = "/command/"; 28 static const char kSyncServerSyncPath[] = "/command/";
29 29
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 406
407 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) { 407 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) {
408 s << " Response Code (bogus on error): " << hr.response_code; 408 s << " Response Code (bogus on error): " << hr.response_code;
409 s << " Content-Length (bogus on error): " << hr.content_length; 409 s << " Content-Length (bogus on error): " << hr.content_length;
410 s << " Server Status: " << hr.server_status; 410 s << " Server Status: " << hr.server_status;
411 return s; 411 return s;
412 } 412 }
413 413
414 } // namespace browser_sync 414 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/net/server_connection_manager.h ('k') | sync/engine/net/url_translator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698