OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/media/webrtc_browsertest_base.h" | 5 #include "chrome/browser/media/webrtc_browsertest_base.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 return result == "has-video-source"; | 353 return result == "has-video-source"; |
354 } | 354 } |
355 | 355 |
356 bool WebRtcTestBase::OnWinXp() const { | 356 bool WebRtcTestBase::OnWinXp() const { |
357 #if defined(OS_WIN) | 357 #if defined(OS_WIN) |
358 return base::win::GetVersion() <= base::win::VERSION_XP; | 358 return base::win::GetVersion() <= base::win::VERSION_XP; |
359 #else | 359 #else |
360 return false; | 360 return false; |
361 #endif | 361 #endif |
362 } | 362 } |
| 363 |
| 364 bool WebRtcTestBase::OnWin8() const { |
| 365 #if defined(OS_WIN) |
| 366 return base::win::GetVersion() > base::win::VERSION_WIN7; |
| 367 #else |
| 368 return false; |
| 369 #endif |
| 370 } |
OLD | NEW |