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

Unified Diff: net/test/python_utils.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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/ssl/server_bound_cert_service_unittest.cc ('k') | net/tools/balsa/balsa_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/python_utils.cc
diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc
index a9ac98b53171b7cad2b80d547dca9baec5719353..bf66bea93bd2e79ce2bb5ea2a4244e5bd83b3909 100644
--- a/net/test/python_utils.cc
+++ b/net/test/python_utils.cc
@@ -41,6 +41,7 @@ void AppendToPythonPath(const base::FilePath& dir) {
namespace {
+#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
// Search for |to_try|, rolling up the directory tree from
// |start_dir|. If found, return true and put the path to |to_try| in
// |out_dir|. If not, return false and leave |out_dir| untouched.
@@ -59,6 +60,7 @@ bool TryRelativeToDir(const base::FilePath& start_dir,
*out_dir = dir;
return true;
}
+#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
} // namespace
« no previous file with comments | « net/ssl/server_bound_cert_service_unittest.cc ('k') | net/tools/balsa/balsa_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698