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 #include "net/base/test_data_directory.h" | 5 #include "net/test/test_data_directory.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 namespace { | 12 namespace { |
13 const base::FilePath::CharType kCertificateRelativePath[] = | 13 const base::FilePath::CharType kCertificateRelativePath[] = |
14 FILE_PATH_LITERAL("net/data/ssl/certificates"); | 14 FILE_PATH_LITERAL("net/data/ssl/certificates"); |
15 } // namespace | 15 } // namespace |
(...skipping 11 matching lines...) Expand all Loading... |
27 return GetTestCertsDirectory(); | 27 return GetTestCertsDirectory(); |
28 #endif | 28 #endif |
29 } | 29 } |
30 | 30 |
31 base::FilePath GetWebSocketTestDataDirectory() { | 31 base::FilePath GetWebSocketTestDataDirectory() { |
32 base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket")); | 32 base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket")); |
33 return data_dir; | 33 return data_dir; |
34 } | 34 } |
35 | 35 |
36 } // namespace net | 36 } // namespace net |
OLD | NEW |