diff options
author | yang-g <yangg@google.com> | 2015-07-21 23:54:36 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-07-21 23:54:36 -0700 |
commit | 8b25f2aaebc261004a08fb05151795f0c332b066 (patch) | |
tree | 60af78baa43004a53d9f0657a04a086bdee71556 /src/node/ext | |
parent | 0ac55806d4be82b5fffed7536ac396d99da080f9 (diff) |
move fake_transport_security_credentials to private API
Diffstat (limited to 'src/node/ext')
-rw-r--r-- | src/node/ext/credentials.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/node/ext/credentials.cc b/src/node/ext/credentials.cc index 34872017ea..d6cff0631d 100644 --- a/src/node/ext/credentials.cc +++ b/src/node/ext/credentials.cc @@ -79,8 +79,6 @@ void Credentials::Init(Handle<Object> exports) { NanNew<FunctionTemplate>(CreateComposite)->GetFunction()); ctr->Set(NanNew("createGce"), NanNew<FunctionTemplate>(CreateGce)->GetFunction()); - ctr->Set(NanNew("createFake"), - NanNew<FunctionTemplate>(CreateFake)->GetFunction()); ctr->Set(NanNew("createIam"), NanNew<FunctionTemplate>(CreateIam)->GetFunction()); constructor = new NanCallback(ctr); @@ -180,11 +178,6 @@ NAN_METHOD(Credentials::CreateGce) { NanReturnValue(WrapStruct(grpc_compute_engine_credentials_create())); } -NAN_METHOD(Credentials::CreateFake) { - NanScope(); - NanReturnValue(WrapStruct(grpc_fake_transport_security_credentials_create())); -} - NAN_METHOD(Credentials::CreateIam) { NanScope(); if (!args[0]->IsString()) { |