summaryrefslogtreecommitdiffstats
path: root/chrome/test/base
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 00:56:07 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 00:56:07 +0000
commitfe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4 (patch)
treeb7f2c0bc36bcfa1dc156bfa18e0d6b1d168aa295 /chrome/test/base
parent56ec73072f135e7e77788f5a09e43e807faa9882 (diff)
downloadchromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.zip
chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.gz
chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.bz2
mac: Prepare most test code for -Wunused-functions too.
BUG=315884 R=akalin@chromium.org, isherman@chromium.org, thestig@chromium.org, yzshen@chromium.org TBR=piman, sergeyu Review URL: https://codereview.chromium.org/65813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base')
-rw-r--r--chrome/test/base/ui_test_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 88c1e43..c766db9 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -97,6 +97,7 @@ namespace ui_test_utils {
namespace {
+#if defined(OS_WIN)
const char kSnapshotBaseName[] = "ChromiumSnapshot";
const char kSnapshotExtension[] = ".png";
@@ -121,6 +122,7 @@ base::FilePath GetSnapshotFileName(const base::FilePath& snapshot_directory) {
}
return snapshot_file;
}
+#endif // defined(OS_WIN)
Browser* WaitForBrowserNotInSet(std::set<Browser*> excluded_browsers) {
Browser* new_browser = GetBrowserNotInSet(excluded_browsers);