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

Unified Diff: third_party/grpc/src/csharp/Grpc.Core/VersionInfo.cs

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/src/csharp/Grpc.Core/VersionInfo.cs
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/WrappersPartial.cs b/third_party/grpc/src/csharp/Grpc.Core/VersionInfo.cs
similarity index 75%
copy from third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/WrappersPartial.cs
copy to third_party/grpc/src/csharp/Grpc.Core/VersionInfo.cs
index 9f620eb4012e35421383ce544f51d7087f4100a1..e610d982f9c38b64d6681bc66c804bef6e26de58 100644
--- a/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/WrappersPartial.cs
+++ b/third_party/grpc/src/csharp/Grpc.Core/VersionInfo.cs
@@ -1,7 +1,7 @@
-#region Copyright notice and license
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
+#region Copyright notice and license
+
+// Copyright 2015-2016, Google Inc.
+// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -28,15 +28,24 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
#endregion
-namespace Google.Protobuf.WellKnownTypes
+namespace Grpc.Core
{
- public static partial class WrappersReflection
+ /// <summary>
+ /// Provides info about current version of gRPC.
+ /// </summary>
+ public static class VersionInfo
{
/// <summary>
- /// Field number for the single "value" field in all wrapper types.
+ /// Current version of gRPC C# assemblies
+ /// </summary>
+ public const string CurrentAssemblyVersion = "0.13.1.0";
+
+ /// <summary>
+ /// Current version of gRPC C#
/// </summary>
- internal const int WrapperValueFieldNumber = Int32Value.ValueFieldNumber;
+ public const string CurrentVersion = "0.13.1";
}
}
« no previous file with comments | « third_party/grpc/src/csharp/Grpc.Core/Version.cs ('k') | third_party/grpc/src/csharp/Grpc.Core/WriteOptions.cs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698