diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-25 22:06:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-25 22:06:29 +0900 |
| commit | 4803482a51bbb0de968fe301bcea42bc41b8cf46 (patch) | |
| tree | d03e911786a3d28d45e79c2f91dca035cf6215f3 /src/HttpRequest.h | |
| parent | 6bcf33a69e1bfa9f7679b78f9f287d84798015aa (diff) | |
HttpRequest: Store non-owning raw pointer for authConfigFactory_
Diffstat (limited to 'src/HttpRequest.h')
| -rw-r--r-- | src/HttpRequest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpRequest.h b/src/HttpRequest.h index a9ac38c0..58b0a53f 100644 --- a/src/HttpRequest.h +++ b/src/HttpRequest.h @@ -76,7 +76,7 @@ private: std::shared_ptr<CookieStorage> cookieStorage_; - std::shared_ptr<AuthConfigFactory> authConfigFactory_; + AuthConfigFactory* authConfigFactory_; const Option* option_; @@ -192,8 +192,8 @@ public: return cookieStorage_; } - void setAuthConfigFactory - (const std::shared_ptr<AuthConfigFactory>& factory, const Option* option); + void setAuthConfigFactory(AuthConfigFactory* factory); + void setOption(const Option* option); /* * To use proxy, pass proxy string to Request::setUri() and set it this |
