| 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_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_ | 5 #ifndef MEDIA_BLINK_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_ |
| 6 #define MEDIA_BLINK_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_ | 6 #define MEDIA_BLINK_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 13 #include "media/blink/active_loader.h" | 15 #include "media/blink/active_loader.h" |
| 14 #include "media/blink/media_blink_export.h" | 16 #include "media/blink/media_blink_export.h" |
| 15 #include "media/blink/multibuffer.h" | 17 #include "media/blink/multibuffer.h" |
| 16 #include "media/blink/url_index.h" | 18 #include "media/blink/url_index.h" |
| 17 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 19 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 119 |
| 118 // When we encounter a redirect, this is the source of the redirect. | 120 // When we encounter a redirect, this is the source of the redirect. |
| 119 GURL redirects_to_; | 121 GURL redirects_to_; |
| 120 | 122 |
| 121 base::WeakPtrFactory<ResourceMultiBufferDataProvider> weak_factory_; | 123 base::WeakPtrFactory<ResourceMultiBufferDataProvider> weak_factory_; |
| 122 }; | 124 }; |
| 123 | 125 |
| 124 } // namespace media | 126 } // namespace media |
| 125 | 127 |
| 126 #endif // MEDIA_BLINK_RESOURCE_MULTIBUFFER_RESOURCE_LOADER_H_ | 128 #endif // MEDIA_BLINK_RESOURCE_MULTIBUFFER_RESOURCE_LOADER_H_ |
| OLD | NEW |