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

Side by Side Diff: sky/services/ns_net/url_loader_impl.h

Issue 1215953006: Use sky_shell instead of mojo_shell for testing. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Foo Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/public/cpp/application/interface_factory.h" 5 #include "mojo/public/cpp/application/interface_factory.h"
6 #include "mojo/public/cpp/bindings/strong_binding.h" 6 #include "mojo/public/cpp/bindings/strong_binding.h"
7 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 7 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 10
11 class URLLoaderImpl : public URLLoader { 11 class URLLoaderImpl : public URLLoader {
12 public: 12 public:
13 explicit URLLoaderImpl(InterfaceRequest<URLLoader> request); 13 explicit URLLoaderImpl(InterfaceRequest<URLLoader> request);
14 ~URLLoaderImpl(); 14 ~URLLoaderImpl() override;
15 15
16 void Start(URLRequestPtr request, const StartCallback& callback) override; 16 void Start(URLRequestPtr request, const StartCallback& callback) override;
17 void FollowRedirect(const FollowRedirectCallback& callback) override; 17 void FollowRedirect(const FollowRedirectCallback& callback) override;
18 void QueryStatus(const QueryStatusCallback& callback) override; 18 void QueryStatus(const QueryStatusCallback& callback) override;
19 19
20 private: 20 private:
21 StrongBinding<URLLoader> binding_; 21 StrongBinding<URLLoader> binding_;
22 void* connection_delegate_; 22 void* connection_delegate_;
23 void* pending_connection_; 23 void* pending_connection_;
24 }; 24 };
25 25
26 } // namespace mojo 26 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698