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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 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 unified diff | Download patch
« no previous file with comments | « mojo/services/network/network_service.cc ('k') | mojo/services/network/network_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_NETWORK_SERVICE_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
9 #include "mojo/public/cpp/bindings/interface_impl.h" 10 #include "mojo/public/cpp/bindings/interface_impl.h"
10 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 class ApplicationConnection; 14 class ApplicationConnection;
15 class NetworkContext; 15 class NetworkContext;
16 16
17 class NetworkServiceImpl : public InterfaceImpl<NetworkService> { 17 class NetworkServiceImpl : public InterfaceImpl<NetworkService> {
18 public: 18 public:
19 NetworkServiceImpl(ApplicationConnection* connection, 19 NetworkServiceImpl(ApplicationConnection* connection,
20 NetworkContext* context); 20 NetworkContext* context);
(...skipping 16 matching lines...) Expand all
37 void CreateUDPSocket(InterfaceRequest<UDPSocket> socket) override; 37 void CreateUDPSocket(InterfaceRequest<UDPSocket> socket) override;
38 38
39 private: 39 private:
40 NetworkContext* context_; 40 NetworkContext* context_;
41 GURL origin_; 41 GURL origin_;
42 }; 42 };
43 43
44 } // namespace mojo 44 } // namespace mojo
45 45
46 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ 46 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/network_service.cc ('k') | mojo/services/network/network_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698