OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 5 #ifndef WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ |
6 #define WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 6 #define WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/lock.h" | |
12 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
13 #include "base/timer.h" | 12 #include "base/timer.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 #include "media/base/seekable_buffer.h" | 14 #include "media/base/seekable_buffer.h" |
16 #include "net/base/file_stream.h" | 15 #include "net/base/file_stream.h" |
17 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" |
18 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoader.h" | 17 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoader.h" |
19 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" |
20 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" |
21 #include "webkit/glue/media/web_data_source.h" | 20 #include "webkit/glue/media/web_data_source.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 236 |
238 // Used to ensure mocks for unittests are used instead of reset in Start(). | 237 // Used to ensure mocks for unittests are used instead of reset in Start(). |
239 bool keep_test_loader_; | 238 bool keep_test_loader_; |
240 | 239 |
241 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); | 240 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); |
242 }; | 241 }; |
243 | 242 |
244 } // namespace webkit_glue | 243 } // namespace webkit_glue |
245 | 244 |
246 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 245 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ |
OLD | NEW |