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

Unified Diff: net/test/test_server.h

Issue 5239001: [Sync] Make sync integration tests use local xmpp servers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded switch Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/notifier/communicator/connection_settings.cc ('k') | net/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server.h
diff --git a/net/test/test_server.h b/net/test/test_server.h
index 5c1103811be89ed79b7ec22bb761eb6fa6c779d2..00a8fc950e45b7f3c071506a586039a3931b2697 100644
--- a/net/test/test_server.h
+++ b/net/test/test_server.h
@@ -28,6 +28,7 @@
#endif
class CommandLine;
+class DictionaryValue;
class GURL;
namespace net {
@@ -116,6 +117,7 @@ class TestServer {
const FilePath& document_root() const { return document_root_; }
const HostPortPair& host_port_pair() const;
+ const DictionaryValue& server_data() const;
std::string GetScheme() const;
bool GetAddressList(AddressList* address_list) const WARN_UNUSED_RESULT;
@@ -172,6 +174,9 @@ class TestServer {
// Address the test server listens on.
HostPortPair host_port_pair_;
+ // Holds the data sent from the server (e.g., port number).
+ scoped_ptr<DictionaryValue> server_data_;
+
// Handle of the Python process running the test server.
base::ProcessHandle process_handle_;
« no previous file with comments | « jingle/notifier/communicator/connection_settings.cc ('k') | net/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698