std::swap(protocol_handlers_, *protocol_handlers);
}
- virtual net::URLRequestContext* Create() OVERRIDE {
+ net::URLRequestContext* Create() override {
profile_io_data_->Init(&protocol_handlers_, request_interceptors_.Pass());
return profile_io_data_->GetMainRequestContext();
}
explicit FactoryForExtensions(const ProfileIOData* profile_io_data)
: profile_io_data_(profile_io_data) {}
- virtual net::URLRequestContext* Create() OVERRIDE {
+ net::URLRequestContext* Create() override {
return profile_io_data_->GetExtensionsRequestContext();
}
std::swap(protocol_handlers_, *protocol_handlers);
}
- virtual net::URLRequestContext* Create() OVERRIDE {
+ net::URLRequestContext* Create() override {
// We will copy most of the state from the main request context.
//
// Note that this factory is one-shot. After Create() is called once, the
partition_descriptor_(partition_descriptor),
app_context_getter_(app_context) {}
- virtual net::URLRequestContext* Create() OVERRIDE {
+ net::URLRequestContext* Create() override {
// We will copy most of the state from the corresopnding app's
// request context. We expect to have the same lifetime as
// the associated |app_context_getter_| so we can just reuse
: profile_io_data_(profile_io_data) {
}
- virtual net::URLRequestContext* Create() OVERRIDE {
+ net::URLRequestContext* Create() override {
return profile_io_data_->GetMediaRequestContext();
}