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

Unified Diff: webkit/media/web_data_source.h

Issue 9836102: Fold WebDataSource into BufferedDataSource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: dcheck-o-rama Created 8 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/media/buffered_resource_loader_unittest.cc ('k') | webkit/media/web_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/web_data_source.h
diff --git a/webkit/media/web_data_source.h b/webkit/media/web_data_source.h
deleted file mode 100644
index 1ed42577f869135252bc50178c3876d36c50ed4c..0000000000000000000000000000000000000000
--- a/webkit/media/web_data_source.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
-#define WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
-
-#include "base/callback.h"
-#include "media/base/data_source.h"
-#include "media/base/pipeline_status.h"
-
-class GURL;
-
-namespace webkit_media {
-
-// An interface that allows WebMediaPlayerImpl::Proxy to communicate with the
-// DataSource in the pipeline.
-class WebDataSource : public media::DataSource {
- public:
- WebDataSource();
- virtual ~WebDataSource();
-
- // Initialize this object using |url|. This object calls |callback| when
- // initialization has completed.
- //
- // Method called on the render thread.
- virtual void Initialize(const GURL& url,
- const media::PipelineStatusCB& status_cb) = 0;
-
- // Returns true if the media resource has a single origin, false otherwise.
- //
- // Method called on the render thread.
- virtual bool HasSingleOrigin() = 0;
-
- // Cancels initialization, any pending loaders, and any pending read calls
- // from the demuxer. The caller is expected to release its reference to this
- // object and never call it again.
- //
- // Method called on the render thread.
- virtual void Abort() = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebDataSource);
-};
-
-} // namespace webkit_media
-
-#endif // WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
« no previous file with comments | « webkit/media/buffered_resource_loader_unittest.cc ('k') | webkit/media/web_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698