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

Side by Side Diff: net/test/spawned_test_server/remote_test_server.h

Issue 897423002: Update {virtual,override,final} to follow C++11 style in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 #ifndef NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
6 #define NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ 6 #define NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/test/spawned_test_server/base_test_server.h" 10 #include "net/test/spawned_test_server/base_test_server.h"
(...skipping 11 matching lines...) Expand all
22 RemoteTestServer(Type type, 22 RemoteTestServer(Type type,
23 const std::string& host, 23 const std::string& host,
24 const base::FilePath& document_root); 24 const base::FilePath& document_root);
25 25
26 // Initialize a TestServer with a specific set of SSLOptions. 26 // Initialize a TestServer with a specific set of SSLOptions.
27 // |document_root| must be a relative path under the root tree. 27 // |document_root| must be a relative path under the root tree.
28 RemoteTestServer(Type type, 28 RemoteTestServer(Type type,
29 const SSLOptions& ssl_options, 29 const SSLOptions& ssl_options,
30 const base::FilePath& document_root); 30 const base::FilePath& document_root);
31 31
32 virtual ~RemoteTestServer(); 32 ~RemoteTestServer() override;
33 33
34 // Starts the Python test server on the host, instead of on the device, and 34 // Starts the Python test server on the host, instead of on the device, and
35 // blocks until the server is ready. 35 // blocks until the server is ready.
36 bool Start() WARN_UNUSED_RESULT; 36 bool Start() WARN_UNUSED_RESULT;
37 37
38 // These are currently unused and unimplemented for RemoteTestServer. See 38 // These are currently unused and unimplemented for RemoteTestServer. See
39 // the same methods in LocalTestServer for more information. 39 // the same methods in LocalTestServer for more information.
40 bool StartInBackground() WARN_UNUSED_RESULT; 40 bool StartInBackground() WARN_UNUSED_RESULT;
41 bool BlockUntilStarted() WARN_UNUSED_RESULT; 41 bool BlockUntilStarted() WARN_UNUSED_RESULT;
42 42
(...skipping 19 matching lines...) Expand all
62 // the host machine. 62 // the host machine.
63 scoped_ptr<SpawnerCommunicator> spawner_communicator_; 63 scoped_ptr<SpawnerCommunicator> spawner_communicator_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer); 65 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer);
66 }; 66 };
67 67
68 } // namespace net 68 } // namespace net
69 69
70 #endif // NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ 70 #endif // NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
71 71
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_android_unittest.cc ('k') | net/test/spawned_test_server/spawner_communicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698