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[] = {30, 0, 1573, 2}; 13 14 } // namespace 15 16 const int kMinimumSupportedChromeBuildNo = kMinimumSupportedChromeVersion[2]; 17 18 std::string GetMinimumSupportedChromeVersion() { 19 return base::StringPrintf( 20 "%d.%d.%d.%d", 21 kMinimumSupportedChromeVersion[0], 22 kMinimumSupportedChromeVersion[1], 23 kMinimumSupportedChromeVersion[2], 24 kMinimumSupportedChromeVersion[3]); 25 } 26