| Index: third_party/grpc/src/cpp/client/credentials.cc
|
| diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.idl b/third_party/grpc/src/cpp/client/credentials.cc
|
| similarity index 78%
|
| copy from third_party/WebKit/Source/modules/encoding/TextEncoder.idl
|
| copy to third_party/grpc/src/cpp/client/credentials.cc
|
| index 736187a78fc0f9ebc66344089254eba83ce4d325..6fb620b0ea8b7c00a815b24b12bafcf5944231cc 100644
|
| --- a/third_party/WebKit/Source/modules/encoding/TextEncoder.idl
|
| +++ b/third_party/grpc/src/cpp/client/credentials.cc
|
| @@ -1,5 +1,7 @@
|
| /*
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + *
|
| + * 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
|
| @@ -26,15 +28,21 @@
|
| * 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.
|
| + *
|
| */
|
|
|
| -[
|
| - Exposed=(Window,Worker),
|
| - Constructor(optional DOMString utfLabel = "utf-8"),
|
| - ConstructorCallWith=ExecutionContext,
|
| - RaisesException=Constructor,
|
| - MeasureAs=TextEncoderConstructor
|
| -] interface TextEncoder {
|
| - readonly attribute DOMString encoding;
|
| - [MeasureAs=TextEncoderEncode] Uint8Array encode(optional USVString input = "");
|
| -};
|
| +#include <grpc++/impl/grpc_library.h>
|
| +#include <grpc++/security/credentials.h>
|
| +
|
| +namespace grpc {
|
| +
|
| +static internal::GrpcLibraryInitializer g_gli_initializer;
|
| +ChannelCredentials::ChannelCredentials() { g_gli_initializer.summon(); }
|
| +
|
| +ChannelCredentials::~ChannelCredentials() {}
|
| +
|
| +CallCredentials::CallCredentials() { g_gli_initializer.summon(); }
|
| +
|
| +CallCredentials::~CallCredentials() {}
|
| +
|
| +} // namespace grpc
|
|
|