Chromium Code Reviews

Unified Diff: webrtc/voice_engine/test/auto_test/resource_manager.cc

Issue 2513363004: WebRTC: Replace ProjectRootPath by ResourcePath (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/voice_engine/test/auto_test/resource_manager.cc
diff --git a/webrtc/voice_engine/test/auto_test/resource_manager.cc b/webrtc/voice_engine/test/auto_test/resource_manager.cc
deleted file mode 100644
index a80d71a2c823e69809a0910b4d594d2f4eb08f8a..0000000000000000000000000000000000000000
--- a/webrtc/voice_engine/test/auto_test/resource_manager.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "webrtc/voice_engine/test/auto_test/resource_manager.h"
-
-#include "webrtc/test/testsupport/fileutils.h"
-
-ResourceManager::ResourceManager() {
- std::string filename = "audio_long16.pcm";
-#if defined(WEBRTC_ANDROID)
- long_audio_file_path_ = "/sdcard/" + filename;
-#else
- std::string resource_path = webrtc::test::ProjectRootPath();
- if (resource_path == webrtc::test::kCannotFindProjectRootDir) {
- long_audio_file_path_ = "";
- } else {
- long_audio_file_path_ =
- resource_path + "data/voice_engine/" + filename;
- }
-#endif
-}
« no previous file with comments | « webrtc/voice_engine/test/auto_test/resource_manager.h ('k') | webrtc/voice_engine/test/auto_test/voe_standard_test.h » ('j') | no next file with comments »

Powered by Google App Engine