Revert of Move fetching logic out of ApplicationManager, eliminate url mappings....
[chromium-blink-merge.git] / net / base / test_data_directory.h
blob9f1a84d369a9ba137e9eb598b17a7b96bec470b5
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
3 // found in the LICENSE file.
5 #ifndef NET_BASE_TEST_DATA_DIRECTORY_H_
6 #define NET_BASE_TEST_DATA_DIRECTORY_H_
8 #include "base/files/file_path.h"
10 namespace net {
12 // Returns the FilePath object representing the absolute path in the source
13 // tree that contains certificates for testing.
14 base::FilePath GetTestCertsDirectory();
16 // Returns the base::FilePath object representing the path to client
17 // certificate files to be used in the |client_authorities| list
18 // of a net::SSLConfig object. For all other uses, use
19 // GetTestCertsDirectory() instead.
20 base::FilePath GetTestClientCertsDirectory();
22 // Returns the base::FilePath object representing the relative path containing
23 // resource files for testing WebSocket. Typically the FilePath will be used as
24 // document root argument for net::SpawnedTestServer with TYPE_WS or TYPE_WSS.
25 base::FilePath GetWebSocketTestDataDirectory();
27 } // namespace net
29 #endif // NET_BASE_TEST_DATA_DIRECTORY_H_