OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
6 | 6 |
7 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_H_ | 7 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_H_ |
8 #define CONTENT_COMMON_RESOURCE_DISPATCHER_H_ | 8 #define CONTENT_COMMON_RESOURCE_DISPATCHER_H_ |
9 #pragma once | |
10 | 9 |
11 #include <deque> | 10 #include <deque> |
12 #include <string> | 11 #include <string> |
13 | 12 |
14 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
15 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
17 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
18 #include "base/time.h" | 17 #include "base/time.h" |
19 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; | 176 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; |
178 | 177 |
179 ResourceDispatcherDelegate* delegate_; | 178 ResourceDispatcherDelegate* delegate_; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); | 180 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); |
182 }; | 181 }; |
183 | 182 |
184 } // namespace content | 183 } // namespace content |
185 | 184 |
186 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ | 185 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ |
OLD | NEW |