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

Unified Diff: net/base/test_data_directory.cc

Issue 2090463002: Move net/base/test_data_directory.[cc,h] to net/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/test_data_directory.h ('k') | net/cert/caching_cert_verifier_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_data_directory.cc
diff --git a/net/base/test_data_directory.cc b/net/base/test_data_directory.cc
deleted file mode 100644
index 45fe638d4286b208510eabf950873e60e3ae8289..0000000000000000000000000000000000000000
--- a/net/base/test_data_directory.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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 {
-
-namespace {
-const base::FilePath::CharType kCertificateRelativePath[] =
- FILE_PATH_LITERAL("net/data/ssl/certificates");
-} // namespace
-
-base::FilePath GetTestCertsDirectory() {
- base::FilePath src_root;
- PathService::Get(base::DIR_SOURCE_ROOT, &src_root);
- return src_root.Append(kCertificateRelativePath);
-}
-
-base::FilePath GetTestClientCertsDirectory() {
-#if defined(OS_ANDROID)
- return base::FilePath(kCertificateRelativePath);
-#else
- return GetTestCertsDirectory();
-#endif
-}
-
-base::FilePath GetWebSocketTestDataDirectory() {
- base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket"));
- return data_dir;
-}
-
-} // namespace net
« no previous file with comments | « net/base/test_data_directory.h ('k') | net/cert/caching_cert_verifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698