Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Side by Side Diff: webkit/glue/media/simple_data_source.h

Issue 8539001: Cleanup: Remove unneeded forward declarations in webkit/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/fileapi/webfilewriter_base.h ('k') | webkit/glue/password_form_dom_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // An extremely simple implementation of DataSource that downloads the entire 5 // An extremely simple implementation of DataSource that downloads the entire
6 // media resource into memory before signaling that initialization has finished. 6 // media resource into memory before signaling that initialization has finished.
7 // Primarily used to test <audio> and <video> with buffering/caching removed 7 // Primarily used to test <audio> and <video> with buffering/caching removed
8 // from the equation. 8 // from the equation.
9 9
10 #ifndef WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_ 10 #ifndef WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_
11 #define WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_ 11 #define WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <string> 14 #include <string>
15 15
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop.h" 17 #include "base/message_loop.h"
18 #include "media/base/filter_factories.h" 18 #include "media/base/filter_factories.h"
19 #include "media/base/filters.h" 19 #include "media/base/filters.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h"
25 #include "webkit/glue/media/web_data_source.h" 25 #include "webkit/glue/media/web_data_source.h"
26 26
27 class MessageLoop; 27 class MessageLoop;
28 class WebMediaPlayerDelegateImpl;
29 28
30 namespace media { 29 namespace media {
31 class MediaLog; 30 class MediaLog;
32 } 31 }
33 32
34 namespace webkit_glue { 33 namespace webkit_glue {
35 34
36 class SimpleDataSource 35 class SimpleDataSource
37 : public WebDataSource, 36 : public WebDataSource,
38 public WebKit::WebURLLoaderClient { 37 public WebKit::WebURLLoaderClient {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 142
144 // Used to ensure mocks for unittests are used instead of reset in Start(). 143 // Used to ensure mocks for unittests are used instead of reset in Start().
145 bool keep_test_loader_; 144 bool keep_test_loader_;
146 145
147 DISALLOW_COPY_AND_ASSIGN(SimpleDataSource); 146 DISALLOW_COPY_AND_ASSIGN(SimpleDataSource);
148 }; 147 };
149 148
150 } // namespace webkit_glue 149 } // namespace webkit_glue
151 150
152 #endif // WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_ 151 #endif // WEBKIT_GLUE_MEDIA_SIMPLE_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/webfilewriter_base.h ('k') | webkit/glue/password_form_dom_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698