diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-09-01 10:52:23 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-09-02 22:03:06 -0700 |
commit | 86e5a050f7db82f49e92bc79be3a0f8623353be3 (patch) | |
tree | 0a9bddf918660d32b3ae935bade74a990f666301 /src | |
parent | 84fa531e4d5a3ca295ffdf93b3b1d676b3dec26f (diff) |
Make GRPCRequestHeaders public and import from GRPCCall
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall+OAuth2.m | 1 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 2 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.m | 1 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/GRPCRequestHeaders.h (renamed from src/objective-c/GRPCClient/private/GRPCRequestHeaders.h) | 0 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/GRPCRequestHeaders.m (renamed from src/objective-c/GRPCClient/private/GRPCRequestHeaders.m) | 0 |
5 files changed, 1 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall+OAuth2.m b/src/objective-c/GRPCClient/GRPCCall+OAuth2.m index cb2cee17d7..83b0de18e3 100644 --- a/src/objective-c/GRPCClient/GRPCCall+OAuth2.m +++ b/src/objective-c/GRPCClient/GRPCCall+OAuth2.m @@ -32,7 +32,6 @@ */ #import "GRPCCall+OAuth2.h" -#import "private/GRPCRequestHeaders.h" static NSString * const kAuthorizationHeader = @"authorization"; static NSString * const kBearerPrefix = @"Bearer "; diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index 975ff8feff..1487001da5 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -48,7 +48,7 @@ #import <Foundation/Foundation.h> #import <RxLibrary/GRXWriter.h> -@class GRPCRequestHeaders; +#import "GRPCRequestHeaders.h" // Keys used in |NSError|'s |userInfo| dictionary to store the response headers and trailers sent by // the server. diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index afa01e2f0f..e6d845c9c2 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -41,7 +41,6 @@ #import "private/NSData+GRPC.h" #import "private/NSDictionary+GRPC.h" #import "private/NSError+GRPC.h" -#import "private/GRPCRequestHeaders.h" NSString * const kGRPCHeadersKey = @"io.grpc.HeadersKey"; NSString * const kGRPCTrailersKey = @"io.grpc.TrailersKey"; diff --git a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.h b/src/objective-c/GRPCClient/GRPCRequestHeaders.h index 320545190f..320545190f 100644 --- a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.h +++ b/src/objective-c/GRPCClient/GRPCRequestHeaders.h diff --git a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m b/src/objective-c/GRPCClient/GRPCRequestHeaders.m index f479ed7501..f479ed7501 100644 --- a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m +++ b/src/objective-c/GRPCClient/GRPCRequestHeaders.m |