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

Side by Side Diff: media/filters/file_data_source_unittest.cc

Issue 449048: Move some XDG code from chrome to base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux base_unittest Created 11 years 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 | « media/base/yuv_convert_unittest.cc ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <string> 5 #include <string>
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/path_service.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 #include "media/base/mock_filter_host.h" 11 #include "media/base/mock_filter_host.h"
11 #include "media/base/mock_filters.h" 12 #include "media/base/mock_filters.h"
12 #include "media/filters/file_data_source.h" 13 #include "media/filters/file_data_source.h"
13 14
14 using ::testing::NiceMock; 15 using ::testing::NiceMock;
15 using ::testing::StrictMock; 16 using ::testing::StrictMock;
16 17
17 namespace { 18 namespace {
18 19
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 StrictMock<MockFilterCallback> callback; 105 StrictMock<MockFilterCallback> callback;
105 EXPECT_CALL(callback, OnFilterCallback()); 106 EXPECT_CALL(callback, OnFilterCallback());
106 EXPECT_CALL(callback, OnCallbackDestroyed()); 107 EXPECT_CALL(callback, OnCallbackDestroyed());
107 const base::TimeDelta kZero; 108 const base::TimeDelta kZero;
108 109
109 scoped_refptr<FileDataSource> filter = new FileDataSource(); 110 scoped_refptr<FileDataSource> filter = new FileDataSource();
110 filter->Seek(kZero, callback.NewCallback()); 111 filter->Seek(kZero, callback.NewCallback());
111 } 112 }
112 113
113 } // namespace media 114 } // namespace media
OLDNEW
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698