| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/test/chromedriver/chrome/version.h" | 5 #include "chrome/test/chromedriver/chrome/version.h" |
| 6 | 6 |
| 7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| 11 const int kMinimumSupportedChromeVersion[] = {26, 0, 1395, 0}; | 11 const int kMinimumSupportedChromeVersion[] = {27, 0, 1453, 0}; |
| 12 | 12 |
| 13 } // namespace | 13 } // namespace |
| 14 | 14 |
| 15 // This variable must be able to be found and parsed by the upload script. | 15 // This variable must be able to be found and parsed by the upload script. |
| 16 const char kChromeDriverVersion[] = "0.9"; | 16 const char kChromeDriverVersion[] = "0.9"; |
| 17 | 17 |
| 18 const int kMinimumSupportedChromeBuildNo = kMinimumSupportedChromeVersion[2]; | 18 const int kMinimumSupportedChromeBuildNo = kMinimumSupportedChromeVersion[2]; |
| 19 | 19 |
| 20 std::string GetMinimumSupportedChromeVersion() { | 20 std::string GetMinimumSupportedChromeVersion() { |
| 21 return base::StringPrintf( | 21 return base::StringPrintf( |
| 22 "%d.%d.%d.%d", | 22 "%d.%d.%d.%d", |
| 23 kMinimumSupportedChromeVersion[0], | 23 kMinimumSupportedChromeVersion[0], |
| 24 kMinimumSupportedChromeVersion[1], | 24 kMinimumSupportedChromeVersion[1], |
| 25 kMinimumSupportedChromeVersion[2], | 25 kMinimumSupportedChromeVersion[2], |
| 26 kMinimumSupportedChromeVersion[3]); | 26 kMinimumSupportedChromeVersion[3]); |
| 27 } | 27 } |
| OLD | NEW |