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

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

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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 "base/macros.h" 10 #include "base/macros.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool Init(const base::FilePath& document_root); 54 bool Init(const base::FilePath& document_root);
55 55
56 // The local port used to communicate with the TestServer spawner. This is 56 // The local port used to communicate with the TestServer spawner. This is
57 // used to control the startup and shutdown of the Python TestServer running 57 // used to control the startup and shutdown of the Python TestServer running
58 // on the remote machine. On Android, this port will be redirected to the 58 // on the remote machine. On Android, this port will be redirected to the
59 // same port on the host machine. 59 // same port on the host machine.
60 int spawner_server_port_; 60 int spawner_server_port_;
61 61
62 // Helper to start and stop instances of the Python test server that runs on 62 // Helper to start and stop instances of the Python test server that runs on
63 // the host machine. 63 // the host machine.
64 scoped_ptr<SpawnerCommunicator> spawner_communicator_; 64 std::unique_ptr<SpawnerCommunicator> spawner_communicator_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer); 66 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer);
67 }; 67 };
68 68
69 } // namespace net 69 } // namespace net
70 70
71 #endif // NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ 71 #endif // NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
72 72
OLDNEW
« no previous file with comments | « net/test/spawned_test_server/base_test_server.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