Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/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" | 15 #include "chrome/browser/sync/engine/net/url_translator.h" |
| 16 #include "chrome/browser/sync/engine/syncapi.h" | |
|
Nicolas Zea
2011/08/16 19:39:07
Excellent (here and elsewhere).
| |
| 17 #include "chrome/browser/sync/engine/syncer.h" | 16 #include "chrome/browser/sync/engine/syncer.h" |
| 18 #include "chrome/browser/sync/engine/syncproto.h" | 17 #include "chrome/browser/sync/engine/syncproto.h" |
| 19 #include "chrome/browser/sync/protocol/sync.pb.h" | 18 #include "chrome/browser/sync/protocol/sync.pb.h" |
| 20 #include "chrome/browser/sync/syncable/directory_manager.h" | 19 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 21 #include "chrome/common/net/http_return.h" | 20 #include "chrome/common/net/http_return.h" |
| 22 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
| 23 | 22 |
| 24 namespace browser_sync { | 23 namespace browser_sync { |
| 25 | 24 |
| 26 using std::ostream; | 25 using std::ostream; |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 388 } | 387 } |
| 389 | 388 |
| 390 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) { | 389 std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) { |
| 391 s << " Response Code (bogus on error): " << hr.response_code; | 390 s << " Response Code (bogus on error): " << hr.response_code; |
| 392 s << " Content-Length (bogus on error): " << hr.content_length; | 391 s << " Content-Length (bogus on error): " << hr.content_length; |
| 393 s << " Server Status: " << hr.server_status; | 392 s << " Server Status: " << hr.server_status; |
| 394 return s; | 393 return s; |
| 395 } | 394 } |
| 396 | 395 |
| 397 } // namespace browser_sync | 396 } // namespace browser_sync |
| OLD | NEW |