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

Side by Side Diff: webkit/media/web_data_source_factory.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/media/web_data_source_factory.h ('k') | webkit/media/web_video_renderer.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 #include "webkit/glue/media/web_data_source_factory.h" 5 #include "webkit/media/web_data_source_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "media/base/media_log.h" 9 #include "media/base/media_log.h"
10 10
11 namespace webkit_glue { 11 namespace webkit_media {
12 12
13 class WebDataSourceFactory::BuildRequest 13 class WebDataSourceFactory::BuildRequest
14 : public media::AsyncDataSourceFactoryBase::BuildRequest { 14 : public media::AsyncDataSourceFactoryBase::BuildRequest {
15 public: 15 public:
16 BuildRequest(const std::string& url, const BuildCallback& callback, 16 BuildRequest(const std::string& url, const BuildCallback& callback,
17 WebDataSource* data_source, 17 WebDataSource* data_source,
18 const WebDataSourceBuildObserverHack& build_observer); 18 const WebDataSourceBuildObserverHack& build_observer);
19 virtual ~BuildRequest(); 19 virtual ~BuildRequest();
20 20
21 protected: 21 protected:
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 if (!build_observer_.is_null() && data_source.get()) { 101 if (!build_observer_.is_null() && data_source.get()) {
102 build_observer_.Run(data_source.get()); 102 build_observer_.Run(data_source.get());
103 } 103 }
104 104
105 RequestComplete(status, data_source); 105 RequestComplete(status, data_source);
106 // Don't do anything after this line. This object is deleted by 106 // Don't do anything after this line. This object is deleted by
107 // RequestComplete(). 107 // RequestComplete().
108 } 108 }
109 109
110 } // namespace webkit_glue 110 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/media/web_data_source_factory.h ('k') | webkit/media/web_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698