OLD | NEW |
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_CONTEXT_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_CONTEXT_H_ |
6 #define MOJO_SERVICES_NETWORK_NETWORK_CONTEXT_H_ | 6 #define MOJO_SERVICES_NETWORK_NETWORK_CONTEXT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 class FilePath; | 18 class FilePath; |
17 } | 19 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // Set when entering the destructor, in order to avoid manipulations of the | 68 // Set when entering the destructor, in order to avoid manipulations of the |
67 // |url_loaders_| (as a url_loader might delete itself in Cleanup()). | 69 // |url_loaders_| (as a url_loader might delete itself in Cleanup()). |
68 bool in_shutdown_; | 70 bool in_shutdown_; |
69 | 71 |
70 DISALLOW_COPY_AND_ASSIGN(NetworkContext); | 72 DISALLOW_COPY_AND_ASSIGN(NetworkContext); |
71 }; | 73 }; |
72 | 74 |
73 } // namespace mojo | 75 } // namespace mojo |
74 | 76 |
75 #endif // MOJO_SERVICES_NETWORK_NETWORK_CONTEXT_H_ | 77 #endif // MOJO_SERVICES_NETWORK_NETWORK_CONTEXT_H_ |
OLD | NEW |