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

Unified Diff: webkit/glue/media/web_data_source_factory.h

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/media/web_data_source.cc ('k') | webkit/glue/media/web_data_source_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/media/web_data_source_factory.h
diff --git a/webkit/glue/media/web_data_source_factory.h b/webkit/glue/media/web_data_source_factory.h
deleted file mode 100644
index 0e32621234ad11e14294bb5bd47a038e2e6ca974..0000000000000000000000000000000000000000
--- a/webkit/glue/media/web_data_source_factory.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2011 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_GLUE_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
-#define WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
-
-#include "base/memory/ref_counted.h"
-#include "media/base/async_filter_factory_base.h"
-#include "webkit/glue/media/web_data_source.h"
-
-class MessageLoop;
-
-namespace media {
-class MediaLog;
-}
-
-namespace WebKit {
-class WebFrame;
-}
-
-namespace webkit_glue {
-
-class WebDataSourceFactory : public media::AsyncDataSourceFactoryBase {
- public:
- typedef WebDataSource* (*FactoryFunction)(MessageLoop* render_loop,
- WebKit::WebFrame* frame,
- media::MediaLog* media_log);
-
- WebDataSourceFactory(MessageLoop* render_loop, WebKit::WebFrame* frame,
- media::MediaLog* media_log,
- FactoryFunction factory_function,
- const WebDataSourceBuildObserverHack& build_observer);
- virtual ~WebDataSourceFactory();
-
- // DataSourceFactory method.
- virtual media::DataSourceFactory* Clone() const;
-
- protected:
- // AsyncDataSourceFactoryBase methods.
- virtual bool AllowRequests() const;
- virtual AsyncDataSourceFactoryBase::BuildRequest* CreateRequest(
- const std::string& url, const BuildCallback& callback);
-
- private:
- class BuildRequest;
-
- MessageLoop* render_loop_;
- WebKit::WebFrame* frame_;
- scoped_refptr<media::MediaLog> media_log_;
- FactoryFunction factory_function_;
- WebDataSourceBuildObserverHack build_observer_;
-
- DISALLOW_COPY_AND_ASSIGN(WebDataSourceFactory);
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
« no previous file with comments | « webkit/glue/media/web_data_source.cc ('k') | webkit/glue/media/web_data_source_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698