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

Side by Side Diff: mojo/services/network/url_loader_impl.h

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "mojo/application/public/cpp/app_lifetime_helper.h"
13 #include "mojo/message_pump/handle_watcher.h" 12 #include "mojo/message_pump/handle_watcher.h"
14 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
15 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 14 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
15 #include "mojo/shell/public/cpp/app_lifetime_helper.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 20
21 class NetworkContext; 21 class NetworkContext;
22 class NetToMojoPendingBuffer; 22 class NetToMojoPendingBuffer;
23 23
24 class URLLoaderImpl : public URLLoader, 24 class URLLoaderImpl : public URLLoader,
25 public net::URLRequest::Delegate { 25 public net::URLRequest::Delegate {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool connected_; 71 bool connected_;
72 Binding<URLLoader> binding_; 72 Binding<URLLoader> binding_;
73 scoped_ptr<mojo::AppRefCount> app_refcount_; 73 scoped_ptr<mojo::AppRefCount> app_refcount_;
74 74
75 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; 75 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_;
76 }; 76 };
77 77
78 } // namespace mojo 78 } // namespace mojo
79 79
80 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ 80 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/url_loader_factory_impl.h ('k') | mojo/services/network/url_loader_impl_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698