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

Unified Diff: mojo/services/network/url_loader_impl.h

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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.cc ('k') | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/url_loader_impl.h
diff --git a/mojo/services/network/url_loader_impl.h b/mojo/services/network/url_loader_impl.h
index b8e6905ffe39a83699afe323216300859e3594a4..833eb864b832e382d33de3393157e37df9d84899 100644
--- a/mojo/services/network/url_loader_impl.h
+++ b/mojo/services/network/url_loader_impl.h
@@ -12,7 +12,7 @@
#include "mojo/message_pump/handle_watcher.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
#include "net/base/net_errors.h"
#include "net/url_request/url_request.h"
@@ -26,7 +26,7 @@ class URLLoaderImpl : public URLLoader,
public:
URLLoaderImpl(NetworkContext* context,
InterfaceRequest<URLLoader> request,
- scoped_ptr<mojo::AppRefCount> app_refcount);
+ scoped_ptr<mojo::MessageLoopRef> app_refcount);
~URLLoaderImpl() override;
// Called when the associated NetworkContext is going away.
@@ -70,7 +70,7 @@ class URLLoaderImpl : public URLLoader,
bool auto_follow_redirects_;
bool connected_;
Binding<URLLoader> binding_;
- scoped_ptr<mojo::AppRefCount> app_refcount_;
+ scoped_ptr<mojo::MessageLoopRef> app_refcount_;
base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_;
};
« no previous file with comments | « mojo/services/network/url_loader_factory_impl.cc ('k') | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698