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

Side by Side Diff: net/test/test_data_directory.h

Issue 2865603002: X509NameAttribute::ValueAsString: Decode TeletexString as Latin1. (Closed)
Patch Set: add comment/todo about nacl difference Created 3 years, 7 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_TEST_DATA_DIRECTORY_H_ 5 #ifndef NET_TEST_TEST_DATA_DIRECTORY_H_
6 #define NET_TEST_TEST_DATA_DIRECTORY_H_ 6 #define NET_TEST_TEST_DATA_DIRECTORY_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/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 net data files.
14 base::FilePath GetTestNetDataDirectory();
15
16 // Returns the FilePath object representing the absolute path in the source
13 // tree that contains certificates for testing. 17 // tree that contains certificates for testing.
14 base::FilePath GetTestCertsDirectory(); 18 base::FilePath GetTestCertsDirectory();
15 19
16 // Returns the base::FilePath object representing the path to client 20 // Returns the base::FilePath object representing the path to client
17 // certificate files to be used in the |client_authorities| list 21 // certificate files to be used in the |client_authorities| list
18 // of a net::SSLConfig object. For all other uses, use 22 // of a net::SSLConfig object. For all other uses, use
19 // GetTestCertsDirectory() instead. 23 // GetTestCertsDirectory() instead.
20 base::FilePath GetTestClientCertsDirectory(); 24 base::FilePath GetTestClientCertsDirectory();
21 25
22 // Returns the base::FilePath object representing the relative path containing 26 // Returns the base::FilePath object representing the relative path containing
23 // resource files for testing WebSocket. Typically the FilePath will be used as 27 // 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. 28 // document root argument for net::SpawnedTestServer with TYPE_WS or TYPE_WSS.
25 base::FilePath GetWebSocketTestDataDirectory(); 29 base::FilePath GetWebSocketTestDataDirectory();
26 30
27 } // namespace net 31 } // namespace net
28 32
29 #endif // NET_TEST_TEST_DATA_DIRECTORY_H_ 33 #endif // NET_TEST_TEST_DATA_DIRECTORY_H_
OLDNEW
« no previous file with comments | « net/data/parse_certificate_unittest/v3_certificate_template.txt ('k') | net/test/test_data_directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698