Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index 88c1e43a835e0b415f1e2b77d18889a66b526cce..c766db96d7113613358cc621f980d28e515ddc03 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); |