| Index: ios/chrome/browser/net/net_types.h
|
| diff --git a/ios/chrome/browser/net/net_types.h b/ios/chrome/browser/net/net_types.h
|
| index 7cab4c6d88a6398a99b9ea3a31e79edde1d6d604..da18e8569537efe10a7b9c1b6f13e090ad8d51f5 100644
|
| --- a/ios/chrome/browser/net/net_types.h
|
| +++ b/ios/chrome/browser/net/net_types.h
|
| @@ -6,10 +6,11 @@
|
| #define IOS_CHROME_BROWSER_NET_NET_TYPES_H_
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/memory/linked_ptr.h"
|
| -#include "base/memory/scoped_vector.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
|
|
| namespace net {
|
| @@ -18,12 +19,12 @@ class URLRequestInterceptor;
|
|
|
| // A mapping from the scheme name to the protocol handler that services its
|
| // content.
|
| -typedef std::map<std::string,
|
| - linked_ptr<net::URLRequestJobFactory::ProtocolHandler>>
|
| - ProtocolHandlerMap;
|
| +using ProtocolHandlerMap =
|
| + std::map<std::string,
|
| + linked_ptr<net::URLRequestJobFactory::ProtocolHandler>>;
|
|
|
| // A scoped vector of protocol interceptors.
|
| -typedef ScopedVector<net::URLRequestInterceptor>
|
| - URLRequestInterceptorScopedVector;
|
| +using URLRequestInterceptorScopedVector =
|
| + std::vector<std::unique_ptr<net::URLRequestInterceptor>>;
|
|
|
| #endif // IOS_CHROME_BROWSER_NET_NET_TYPES_H_
|
|
|