| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ | 5 #ifndef CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ |
| 6 #define CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ | 6 #define CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 16 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 17 #include "ipc/message_filter.h" | 18 #include "ipc/message_filter.h" |
| 18 | 19 |
| 19 namespace blink { | 20 namespace blink { |
| 20 class WebTaskRunner; | 21 class WebTaskRunner; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace content { | 24 namespace content { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 ResourceDispatcher* resource_dispatcher_; // NOT OWNED | 61 ResourceDispatcher* resource_dispatcher_; // NOT OWNED |
| 61 base::WeakPtrFactory<ResourceSchedulingFilter> weak_ptr_factory_; | 62 base::WeakPtrFactory<ResourceSchedulingFilter> weak_ptr_factory_; |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 DISALLOW_COPY_AND_ASSIGN(ResourceSchedulingFilter); | 65 DISALLOW_COPY_AND_ASSIGN(ResourceSchedulingFilter); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace content | 68 } // namespace content |
| 68 | 69 |
| 69 #endif // CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ | 70 #endif // CONTENT_CHILD_RESOURCE_SCHEDULING_FILTER_H_ |
| OLD | NEW |