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

Unified Diff: mojo/services/network/url_loader_factory_impl.cc

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 | « mojo/services/network/url_loader_factory_impl.h ('k') | mojo/services/network/url_loader_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/url_loader_factory_impl.cc
diff --git a/mojo/services/network/url_loader_factory_impl.cc b/mojo/services/network/url_loader_factory_impl.cc
deleted file mode 100644
index 2e19d5be6a5b858e0f9c0977b39749f08473a858..0000000000000000000000000000000000000000
--- a/mojo/services/network/url_loader_factory_impl.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/services/network/url_loader_factory_impl.h"
-
-#include <utility>
-
-#include "mojo/services/network/url_loader_impl.h"
-
-namespace mojo {
-
-URLLoaderFactoryImpl::URLLoaderFactoryImpl(
- NetworkContext* context,
- scoped_ptr<mojo::MessageLoopRef> app_refcount,
- InterfaceRequest<URLLoaderFactory> request)
- : context_(context),
- app_refcount_(std::move(app_refcount)),
- binding_(this, std::move(request)) {}
-
-URLLoaderFactoryImpl::~URLLoaderFactoryImpl() {
-}
-
-void URLLoaderFactoryImpl::CreateURLLoader(InterfaceRequest<URLLoader> loader) {
- // TODO(darin): Plumb origin. Use for CORS.
- // TODO(beng): Figure out how to get origin through to here.
- // The loader will delete itself when the pipe is closed, unless a request is
- // in progress. In which case, the loader will delete itself when the request
- // is finished.
- new URLLoaderImpl(context_, std::move(loader), app_refcount_->Clone());
-}
-
-} // namespace mojo
« no previous file with comments | « mojo/services/network/url_loader_factory_impl.h ('k') | mojo/services/network/url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698