Index: chrome/test/chromedriver/version.cc |
diff --git a/chrome/test/chromedriver/version.cc b/chrome/test/chromedriver/version.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..76c9c42f82df9221881fa7149cc309970cbe7877 |
--- /dev/null |
+++ b/chrome/test/chromedriver/version.cc |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/test/chromedriver/version.h" |
+ |
+#include "base/stringprintf.h" |
+ |
+namespace { |
+ |
+const int kMinimumSupportedChromeVersion[] = {26, 0, 1390, 0}; |
+ |
+} // namespace |
+ |
+// This variable must be able to be found and parsed by the upload script. |
+const char kChromeDriverVersion[] = "0.1"; |
+ |
+const int kMinimumSupportedChromeBuildNo = kMinimumSupportedChromeVersion[2]; |
+ |
+std::string GetMinimumSupportedChromeVersion() { |
+ return base::StringPrintf( |
+ "%d.%d.%d.%d", |
+ kMinimumSupportedChromeVersion[0], |
+ kMinimumSupportedChromeVersion[1], |
+ kMinimumSupportedChromeVersion[2], |
+ kMinimumSupportedChromeVersion[3]); |
+} |