aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-21 23:54:36 -0700
committerGravatar yang-g <yangg@google.com>2015-07-21 23:54:36 -0700
commit8b25f2aaebc261004a08fb05151795f0c332b066 (patch)
tree60af78baa43004a53d9f0657a04a086bdee71556 /src/node/ext
parent0ac55806d4be82b5fffed7536ac396d99da080f9 (diff)
move fake_transport_security_credentials to private API
Diffstat (limited to 'src/node/ext')
-rw-r--r--src/node/ext/credentials.cc7
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()) {