| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MEDIA_BLINK_URL_INDEX_H_ | 5 #ifndef MEDIA_BLINK_URL_INDEX_H_ |
| 6 #define MEDIA_BLINK_URL_INDEX_H_ | 6 #define MEDIA_BLINK_URL_INDEX_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <map> | 11 #include <map> |
| 9 #include <vector> | 12 #include <vector> |
| 10 | 13 |
| 11 #include "base/macros.h" | 14 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 14 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 15 #include "media/blink/lru.h" | 18 #include "media/blink/lru.h" |
| 16 #include "media/blink/media_blink_export.h" | 19 #include "media/blink/media_blink_export.h" |
| 17 #include "media/blink/multibuffer.h" | 20 #include "media/blink/multibuffer.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // log2 of block size in multibuffer cache. Defaults to kBlockSizeShift. | 236 // log2 of block size in multibuffer cache. Defaults to kBlockSizeShift. |
| 234 // Currently only changed for testing purposes. | 237 // Currently only changed for testing purposes. |
| 235 const int block_shift_; | 238 const int block_shift_; |
| 236 | 239 |
| 237 protected: | 240 protected: |
| 238 base::WeakPtrFactory<UrlIndex> weak_factory_; | 241 base::WeakPtrFactory<UrlIndex> weak_factory_; |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 } // namespace media | 244 } // namespace media |
| 242 #endif // MEDIA_BLINK_URL_INDEX_H_ | 245 #endif // MEDIA_BLINK_URL_INDEX_H_ |
| OLD | NEW |