- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / chromedriver / chrome / version.cc
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[] = {29, 0, 1545, 0};
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 }