aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-18 08:34:56 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-18 08:34:56 -0800
commit0605995e55a2030c5a2a82092a253e7188b8d2fb (patch)
tree784a0550c25003016af21a4f249f406bb75d1565 /src/cpp
parent6d5f42e79a110f3ed13248f89102dc01ae7780ae (diff)
Update copyright to 2015
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/client/channel.cc4
-rw-r--r--src/cpp/client/channel.h4
-rw-r--r--src/cpp/client/channel_arguments.cc4
-rw-r--r--src/cpp/client/client_context.cc4
-rw-r--r--src/cpp/client/client_unary_call.cc4
-rw-r--r--src/cpp/client/create_channel.cc4
-rw-r--r--src/cpp/client/credentials.cc4
-rw-r--r--src/cpp/client/internal_stub.cc4
-rw-r--r--src/cpp/common/call.cc4
-rw-r--r--src/cpp/common/completion_queue.cc4
-rw-r--r--src/cpp/common/rpc_method.cc4
-rw-r--r--src/cpp/proto/proto_utils.cc4
-rw-r--r--src/cpp/proto/proto_utils.h4
-rw-r--r--src/cpp/server/async_server_context.cc4
-rw-r--r--src/cpp/server/server.cc4
-rw-r--r--src/cpp/server/server_builder.cc4
-rw-r--r--src/cpp/server/server_context.cc4
-rw-r--r--src/cpp/server/server_credentials.cc4
-rw-r--r--src/cpp/server/thread_pool.cc4
-rw-r--r--src/cpp/server/thread_pool.h4
-rw-r--r--src/cpp/util/status.cc4
-rw-r--r--src/cpp/util/time.cc4
-rw-r--r--src/cpp/util/time.h4
23 files changed, 46 insertions, 46 deletions
diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc
index b2fc0c97ee..9a8ee15fdd 100644
--- a/src/cpp/client/channel.cc
+++ b/src/cpp/client/channel.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -99,4 +99,4 @@ void Channel::PerformOpsOnCall(CallOpBuffer *buf, Call *call) {
grpc_call_start_batch(call->call(), ops, nops, buf));
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/channel.h b/src/cpp/client/channel.h
index c31adab723..46da754d8c 100644
--- a/src/cpp/client/channel.h
+++ b/src/cpp/client/channel.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -68,4 +68,4 @@ class Channel final : public ChannelInterface {
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__
+#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__ \ No newline at end of file
diff --git a/src/cpp/client/channel_arguments.cc b/src/cpp/client/channel_arguments.cc
index 70713f015f..a8c71b6196 100644
--- a/src/cpp/client/channel_arguments.cc
+++ b/src/cpp/client/channel_arguments.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -79,4 +79,4 @@ void ChannelArguments::SetChannelArgs(grpc_channel_args *channel_args) const {
}
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/client_context.cc b/src/cpp/client/client_context.cc
index 64a829630d..646c45a963 100644
--- a/src/cpp/client/client_context.cc
+++ b/src/cpp/client/client_context.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -81,4 +81,4 @@ void ClientContext::TryCancel() {
}
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/client_unary_call.cc b/src/cpp/client/client_unary_call.cc
index 03a0326128..4e71492ad0 100644
--- a/src/cpp/client/client_unary_call.cc
+++ b/src/cpp/client/client_unary_call.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -86,4 +86,4 @@ void AsyncUnaryCall(ChannelInterface *channel, const RpcMethod &method,
call.PerformOps(buf);
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc
index 9cc5cff214..45502b9361 100644
--- a/src/cpp/client/create_channel.cc
+++ b/src/cpp/client/create_channel.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -50,4 +50,4 @@ std::shared_ptr<ChannelInterface> CreateChannel(
const ChannelArguments &args) {
return std::shared_ptr<ChannelInterface>(new Channel(target, creds, args));
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/credentials.cc b/src/cpp/client/credentials.cc
index 8e3a988477..90e278157e 100644
--- a/src/cpp/client/credentials.cc
+++ b/src/cpp/client/credentials.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -112,4 +112,4 @@ std::unique_ptr<Credentials> CredentialsFactory::ComposeCredentials(
return cpp_creds;
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/client/internal_stub.cc b/src/cpp/client/internal_stub.cc
index 51cb99d1b4..53b66b955d 100644
--- a/src/cpp/client/internal_stub.cc
+++ b/src/cpp/client/internal_stub.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,4 +33,4 @@
#include <grpc++/impl/internal_stub.h>
-namespace grpc {} // namespace grpc
+namespace grpc {} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc
index 04af36f312..b7a6450d2c 100644
--- a/src/cpp/common/call.cc
+++ b/src/cpp/common/call.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -283,4 +283,4 @@ void Call::PerformOps(CallOpBuffer* buffer) {
call_hook_->PerformOpsOnCall(buffer, this);
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/common/completion_queue.cc b/src/cpp/common/completion_queue.cc
index 4419b4b2f1..f2b75b410a 100644
--- a/src/cpp/common/completion_queue.cc
+++ b/src/cpp/common/completion_queue.cc
@@ -1,5 +1,5 @@
/*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -82,4 +82,4 @@ bool CompletionQueue::Pluck(CompletionQueueTag *tag) {
return ok;
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/common/rpc_method.cc b/src/cpp/common/rpc_method.cc
index c8b2ccb10e..e536a1b135 100644
--- a/src/cpp/common/rpc_method.cc
+++ b/src/cpp/common/rpc_method.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,4 +33,4 @@
#include <grpc++/impl/rpc_method.h>
-namespace grpc {} // namespace grpc
+namespace grpc {} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc
index 85f859b9eb..57098b50c4 100644
--- a/src/cpp/proto/proto_utils.cc
+++ b/src/cpp/proto/proto_utils.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -70,4 +70,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer,
return msg->ParseFromString(msg_string);
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/proto/proto_utils.h b/src/cpp/proto/proto_utils.h
index a611a227fa..b3b0328990 100644
--- a/src/cpp/proto/proto_utils.h
+++ b/src/cpp/proto/proto_utils.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -54,4 +54,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer, google::protobuf::Message *msg);
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__
+#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__ \ No newline at end of file
diff --git a/src/cpp/server/async_server_context.cc b/src/cpp/server/async_server_context.cc
index 096eb7aa0e..84b083ead6 100644
--- a/src/cpp/server/async_server_context.cc
+++ b/src/cpp/server/async_server_context.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -92,4 +92,4 @@ bool AsyncServerContext::ParseRead(grpc_byte_buffer *read_buffer) {
return success;
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc
index ee9a1daa8e..8c0844a319 100644
--- a/src/cpp/server/server.cc
+++ b/src/cpp/server/server.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -386,4 +386,4 @@ void Server::RunRpc() {
}
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/server_builder.cc b/src/cpp/server/server_builder.cc
index dd23e929b1..1ca1acad94 100644
--- a/src/cpp/server/server_builder.cc
+++ b/src/cpp/server/server_builder.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -100,4 +100,4 @@ std::unique_ptr<Server> ServerBuilder::BuildAndStart() {
return server;
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/server_context.cc b/src/cpp/server/server_context.cc
index df4c4dc314..b9c82138f6 100644
--- a/src/cpp/server/server_context.cc
+++ b/src/cpp/server/server_context.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -67,4 +67,4 @@ void ServerContext::AddTrailingMetadata(const grpc::string& key,
trailing_metadata_.insert(std::make_pair(key, value));
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/server_credentials.cc b/src/cpp/server/server_credentials.cc
index ce0271b6a0..fbd606246b 100644
--- a/src/cpp/server/server_credentials.cc
+++ b/src/cpp/server/server_credentials.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -59,4 +59,4 @@ std::shared_ptr<ServerCredentials> ServerCredentialsFactory::SslCredentials(
return std::shared_ptr<ServerCredentials>(new ServerCredentials(c_creds));
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/thread_pool.cc b/src/cpp/server/thread_pool.cc
index 20279592cb..410e51d8b1 100644
--- a/src/cpp/server/thread_pool.cc
+++ b/src/cpp/server/thread_pool.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -77,4 +77,4 @@ void ThreadPool::ScheduleCallback(const std::function<void()> &callback) {
cv_.notify_one();
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/server/thread_pool.h b/src/cpp/server/thread_pool.h
index 8a28c87704..77b0f33ddc 100644
--- a/src/cpp/server/thread_pool.h
+++ b/src/cpp/server/thread_pool.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -61,4 +61,4 @@ class ThreadPool final : public ThreadPoolInterface {
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__
+#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__ \ No newline at end of file
diff --git a/src/cpp/util/status.cc b/src/cpp/util/status.cc
index 1ca12d0ae9..f29415b5b8 100644
--- a/src/cpp/util/status.cc
+++ b/src/cpp/util/status.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -38,4 +38,4 @@ namespace grpc {
const Status &Status::OK = Status();
const Status &Status::Cancelled = Status(StatusCode::CANCELLED);
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/util/time.cc b/src/cpp/util/time.cc
index 7ce7a371f5..56ac476516 100644
--- a/src/cpp/util/time.cc
+++ b/src/cpp/util/time.cc
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -63,4 +63,4 @@ system_clock::time_point Timespec2Timepoint(gpr_timespec t) {
return tp;
}
-} // namespace grpc
+} // namespace grpc \ No newline at end of file
diff --git a/src/cpp/util/time.h b/src/cpp/util/time.h
index 908395c92b..59c3b9d406 100644
--- a/src/cpp/util/time.h
+++ b/src/cpp/util/time.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2014, Google Inc.
+ * Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -48,4 +48,4 @@ std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t);
} // namespace grpc
-#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__
+#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__ \ No newline at end of file