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

Unified Diff: media/base/test_data_util.h

Issue 2922323003: JDA unittest: don't require the test file in /media/test/data/. (Closed)
Patch Set: Created 3 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 | « no previous file | media/base/test_data_util.cc » ('j') | media/base/test_data_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_data_util.h
diff --git a/media/base/test_data_util.h b/media/base/test_data_util.h
index b93093b1e7164ce01c161b5e033c8443ff4b22ea..a400b377679c63c131f4d4f0e9d1e4843d4b0a28 100644
--- a/media/base/test_data_util.h
+++ b/media/base/test_data_util.h
@@ -23,6 +23,10 @@ base::FilePath GetTestDataFilePath(const std::string& name);
// Returns relative path for test data folder: media/test/data.
base::FilePath GetTestDataPath();
+// Returns a file path for a file in what name specified or media/test/data
+// directory. If the original file path is existed, returns it first.
+base::FilePath GetOriginalOrTestDataFilePath(const std::string& name);
+
// Returns a string containing key value query params in the form of:
// "key_1=value_1&key_2=value2"
std::string GetURLQueryString(const base::StringPairs& query_params);
« no previous file with comments | « no previous file | media/base/test_data_util.cc » ('j') | media/base/test_data_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698