summaryrefslogtreecommitdiffstats
path: root/net/base/test_data_directory.cc
blob: 7acd02afb657c03b8826222312c17b339ade43ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/base/test_data_directory.h"

#include "base/base_paths.h"
#include "base/path_service.h"

namespace net {

FilePath GetTestCertsDirectory() {
  FilePath certs_dir;
  PathService::Get(base::DIR_SOURCE_ROOT, &certs_dir);
  return certs_dir.Append(FILE_PATH_LITERAL("net/data/ssl/certificates"));
}

}  // namespace net