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

Side by Side Diff: third_party/grpc/examples/ruby/lib/helloworld.rb

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(Empty)
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: helloworld.proto
3
4 require 'google/protobuf'
5
6 Google::Protobuf::DescriptorPool.generated_pool.build do
7 add_message "helloworld.HelloRequest" do
8 optional :name, :string, 1
9 end
10 add_message "helloworld.HelloReply" do
11 optional :message, :string, 1
12 end
13 end
14
15 module Helloworld
16 HelloRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("hellowo rld.HelloRequest").msgclass
17 HelloReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworl d.HelloReply").msgclass
18 end
OLDNEW
« no previous file with comments | « third_party/grpc/examples/ruby/grpc-demo.gemspec ('k') | third_party/grpc/examples/ruby/lib/helloworld_services.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698