aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/call_credentials.h
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-20 16:10:20 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-20 16:10:20 -0700
commit7c0dbf82b38f1f64dd146fb4756a97d5e2be0ea0 (patch)
tree4b9b1dd2c201c6c268ad409ae9b4bfe69927b13f /src/node/ext/call_credentials.h
parent29d6f18c11229fd97102a6a74b380c1375474a9d (diff)
Updated Node credentials API to match core API change
Diffstat (limited to 'src/node/ext/call_credentials.h')
-rw-r--r--src/node/ext/call_credentials.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/node/ext/call_credentials.h b/src/node/ext/call_credentials.h
index 618292d19e..1cd8d8dd5d 100644
--- a/src/node/ext/call_credentials.h
+++ b/src/node/ext/call_credentials.h
@@ -45,14 +45,14 @@ class CallCredentials : public Nan::ObjectWrap {
public:
static void Init(v8::Local<v8::Object> exports);
static bool HasInstance(v8::Local<v8::Value> val);
- /* Wrap a grpc_credentials struct in a javascript object */
- static v8::Local<v8::Value> WrapStruct(grpc_credentials *credentials);
+ /* Wrap a grpc_call_credentials struct in a javascript object */
+ static v8::Local<v8::Value> WrapStruct(grpc_call_credentials *credentials);
- /* Returns the grpc_credentials struct that this object wraps */
- grpc_credentials *GetWrappedCredentials();
+ /* Returns the grpc_call_credentials struct that this object wraps */
+ grpc_call_credentials *GetWrappedCredentials();
private:
- explicit CallCredentials(grpc_credentials *credentials);
+ explicit CallCredentials(grpc_call_credentials *credentials);
~CallCredentials();
// Prevent copying
@@ -68,7 +68,7 @@ class CallCredentials : public Nan::ObjectWrap {
// Used for typechecking instances of this javascript class
static Nan::Persistent<v8::FunctionTemplate> fun_tpl;
- grpc_credentials *wrapped_credentials;
+ grpc_call_credentials *wrapped_credentials;
};
/* Auth metadata plugin functionality */