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

Side by Side Diff: webkit/glue/media/buffered_data_source_unittest.cc

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/message_loop.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 #include "media/base/filters.h" 11 #include "media/base/filters.h"
11 #include "media/base/mock_filter_host.h" 12 #include "media/base/mock_filter_host.h"
12 #include "media/base/mock_filters.h" 13 #include "media/base/mock_filters.h"
13 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
14 #include "net/http/http_response_headers.h" 15 #include "net/http/http_response_headers.h"
15 #include "webkit/glue/media/buffered_data_source.h" 16 #include "webkit/glue/media/buffered_data_source.h"
16 #include "webkit/glue/media/mock_media_resource_loader_bridge_factory.h" 17 #include "webkit/glue/media/mock_media_resource_loader_bridge_factory.h"
17 #include "webkit/glue/mock_resource_loader_bridge.h" 18 #include "webkit/glue/mock_resource_loader_bridge.h"
18 19
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 StopDataSource(); 926 StopDataSource();
926 } 927 }
927 928
928 TEST_F(BufferedDataSourceTest, FileHasLoadedState) { 929 TEST_F(BufferedDataSourceTest, FileHasLoadedState) {
929 InitializeDataSource(kFileUrl, net::OK, true, 1024, LOADED); 930 InitializeDataSource(kFileUrl, net::OK, true, 1024, LOADED);
930 ReadDataSourceTimesOut(20, 10); 931 ReadDataSourceTimesOut(20, 10);
931 StopDataSource(); 932 StopDataSource();
932 } 933 }
933 934
934 } // namespace webkit_glue 935 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698