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