| OLD | NEW |
| 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_BASE_TEST_DATA_DIRECTORY_H_ | 5 #ifndef NET_BASE_TEST_DATA_DIRECTORY_H_ |
| 6 #define NET_BASE_TEST_DATA_DIRECTORY_H_ | 6 #define NET_BASE_TEST_DATA_DIRECTORY_H_ |
| 7 | 7 |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| 11 | 11 |
| 12 // Returns the FilePath object representing the absolute path in the source | 12 // Returns the FilePath object representing the absolute path in the source |
| 13 // tree that contains certificates for testing. | 13 // tree that contains certificates for testing. |
| 14 FilePath GetTestCertsDirectory(); | 14 FilePath GetTestCertsDirectory(); |
| 15 | 15 |
| 16 // Returns the FilePath object representing the path to the certificate |
| 17 // directory in relation to the source root. |
| 18 FilePath GetTestCertsDirectoryRelative(); |
| 19 |
| 16 // Returns the FilePath object representing the relative path containing | 20 // Returns the FilePath object representing the relative path containing |
| 17 // resource files for testing WebSocket. Typically the FilePath will be used as | 21 // resource files for testing WebSocket. Typically the FilePath will be used as |
| 18 // document root argument for net::TestServer with TYPE_WS or TYPE_WSS. | 22 // document root argument for net::TestServer with TYPE_WS or TYPE_WSS. |
| 19 FilePath GetWebSocketTestDataDirectory(); | 23 FilePath GetWebSocketTestDataDirectory(); |
| 20 | 24 |
| 21 } // namespace net | 25 } // namespace net |
| 22 | 26 |
| 23 #endif // NET_BASE_TEST_DATA_DIRECTORY_H_ | 27 #endif // NET_BASE_TEST_DATA_DIRECTORY_H_ |
| OLD | NEW |