diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
commit | 1d51882f44178fb5bdbf6a7f31e435c9d6de652a (patch) | |
tree | 97388deda6011a2d2897a8d4eea831a6bc56b568 /net/test | |
parent | 9e9a06a3d002a799246a5dbbd9d95aef999185c9 (diff) | |
download | chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.zip chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.gz chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.bz2 |
Fixes for -Wunused-function on Linux, Android and ChromeOS
BUG=315884, 78045
TBR=owners
Review URL: https://codereview.chromium.org/67923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/python_utils.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc index a9ac98b..bf66bea 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 |