Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: chrome/test/chromedriver/version.cc

Issue 12052004: [chromedriver] Create release script and handle Chrome/ChromeDriver versions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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/version.h"
6
7 #include "base/stringprintf.h"
8
9 namespace {
10
11 const int kMinimumSupportedChromeVersion[] = {26, 0, 1390, 0};
12
13 } // namespace
14
15 // This variable must be able to be found and parsed by the upload script.
16 const char kChromeDriverVersion[] = "0.1";
17
18 const int kMinimumSupportedChromeBuildNo = kMinimumSupportedChromeVersion[2];
19
20 std::string GetChromeDriverVersion() {
chrisgao (Use stgao instead) 2013/01/22 19:17:31 This function is not declared in version.h
kkania 2013/02/28 21:50:17 Whoops, i forgot to delete this when i changed kCh
21 return base::StringPrintf(
22 "%d.%d",
23 kChromeDriverVersion[0],
24 kChromeDriverVersion[1]);
chrisgao (Use stgao instead) 2013/01/22 19:17:31 kChromeDriverVersion[2]
kkania 2013/02/28 21:50:17 Removed this func
25 }
26
27 std::string GetMinimumSupportedChromeVersion() {
28 return base::StringPrintf(
29 "%d.%d.%d.%d",
30 kMinimumSupportedChromeVersion[0],
31 kMinimumSupportedChromeVersion[1],
32 kMinimumSupportedChromeVersion[2],
33 kMinimumSupportedChromeVersion[3]);
34 }
OLDNEW
« chrome/test/chromedriver/chrome_impl.cc ('K') | « chrome/test/chromedriver/version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698