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

Unified Diff: media/filters/file_data_source.h

Issue 10091001: Remove unneeded friend tests from media::FileDataSource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/file_data_source.h
diff --git a/media/filters/file_data_source.h b/media/filters/file_data_source.h
index 100ead378386487272cec63b883e049fec878ff2..bcbc591222cdc142603292a9eb2d14d29356bf45 100644
--- a/media/filters/file_data_source.h
+++ b/media/filters/file_data_source.h
@@ -33,14 +33,6 @@ class MEDIA_EXPORT FileDataSource : public DataSource {
virtual void SetBitrate(int bitrate) OVERRIDE;
private:
- // Only allow factories and tests to create this object.
- //
- // TODO(scherkus): I'm getting tired of these factories getting in the way
- // of my tests!!!
- FRIEND_TEST_ALL_PREFIXES(FileDataSourceTest, OpenFile);
- FRIEND_TEST_ALL_PREFIXES(FileDataSourceTest, ReadData);
- FRIEND_TEST_ALL_PREFIXES(FileDataSourceTest, Seek);
-
// Informs the host of changes in total and buffered bytes.
void UpdateHostBytes();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698