Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2317)

Unified Diff: net/http/http_auth_handler_mock.h

Issue 1520253002: Remove ScopedVector from http_auth_handler_mock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_auth_handler_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_mock.h
diff --git a/net/http/http_auth_handler_mock.h b/net/http/http_auth_handler_mock.h
index 32b416d2fba7424440accfdef5c9fb44eb33120f..2677526803b7902357c3cfc84a7fb018038998fa 100644
--- a/net/http/http_auth_handler_mock.h
+++ b/net/http/http_auth_handler_mock.h
@@ -6,8 +6,9 @@
#define NET_HTTP_HTTP_AUTH_HANDLER_MOCK_H_
#include <string>
+#include <vector>
-#include "base/memory/scoped_vector.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "net/http/http_auth_handler.h"
#include "net/http/http_auth_handler_factory.h"
@@ -51,7 +52,8 @@ class HttpAuthHandlerMock : public HttpAuthHandler {
scoped_ptr<HttpAuthHandler>* handler) override;
private:
- ScopedVector<HttpAuthHandler> handlers_[HttpAuth::AUTH_NUM_TARGETS];
+ std::vector<scoped_ptr<HttpAuthHandler>>
+ handlers_[HttpAuth::AUTH_NUM_TARGETS];
bool do_init_from_challenge_;
};
« no previous file with comments | « no previous file | net/http/http_auth_handler_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698