Chromium Code Reviews| Index: blimp/common/version_info.h |
| diff --git a/blimp/common/version_info.h b/blimp/common/version_info.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e8149243ecc92a4ae86d81256c481d49e0fee77c |
| --- /dev/null |
| +++ b/blimp/common/version_info.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 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. |
| + |
| +#ifndef BLIMP_COMMON_VERSION_INFO_H_ |
| +#define BLIMP_COMMON_VERSION_INFO_H_ |
| + |
| +#include <string> |
| + |
| +#include "blimp/common/blimp_common_export.h" |
| + |
| +namespace blimp { |
| + |
| +// Latest version of the protocol supported by this build. |
| +int BLIMP_COMMON_EXPORT GetProtocolVersion(); |
| + |
| +// String containing the MAJOR.MINOR.BUILD.PATCH version of this build. |
| +std::string BLIMP_COMMON_EXPORT GetBuildVersion(); |
|
Kevin M
2016/05/25 21:19:19
Return a const char*?
Wez
2016/05/25 23:11:36
I followed the style of version_info::GetVersionNu
|
| + |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_COMMON_VERSION_INFO_H_ |