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

Side by Side Diff: content/renderer/media/android/media_info_loader_unittest.cc

Issue 68683009: Rewrite include paths for Blink public/ headers that have moved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "content/renderer/media/android/media_info_loader.h" 7 #include "content/renderer/media/android/media_info_loader.h"
8 #include "content/test/mock_webframeclient.h" 8 #include "content/test/mock_webframeclient.h"
9 #include "content/test/mock_weburlloader.h" 9 #include "content/test/mock_weburlloader.h"
10 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
10 #include "third_party/WebKit/public/platform/WebURLError.h" 11 #include "third_party/WebKit/public/platform/WebURLError.h"
11 #include "third_party/WebKit/public/platform/WebURLRequest.h" 12 #include "third_party/WebKit/public/platform/WebURLRequest.h"
12 #include "third_party/WebKit/public/platform/WebURLResponse.h" 13 #include "third_party/WebKit/public/platform/WebURLResponse.h"
13 #include "third_party/WebKit/public/web/WebMediaPlayer.h"
14 #include "third_party/WebKit/public/web/WebView.h" 14 #include "third_party/WebKit/public/web/WebView.h"
15 15
16 using ::testing::_; 16 using ::testing::_;
17 using ::testing::InSequence; 17 using ::testing::InSequence;
18 using ::testing::NiceMock; 18 using ::testing::NiceMock;
19 19
20 using blink::WebString; 20 using blink::WebString;
21 using blink::WebURLError; 21 using blink::WebURLError;
22 using blink::WebURLResponse; 22 using blink::WebURLResponse;
23 using blink::WebView; 23 using blink::WebView;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 } 181 }
182 182
183 TEST_F(MediaInfoLoaderTest, CORSAccessCheckFailed) { 183 TEST_F(MediaInfoLoaderTest, CORSAccessCheckFailed) {
184 Initialize(kHttpUrl, blink::WebMediaPlayer::CORSModeUseCredentials); 184 Initialize(kHttpUrl, blink::WebMediaPlayer::CORSModeUseCredentials);
185 Start(); 185 Start();
186 SendResponse(kHttpNotFound, MediaInfoLoader::kFailed); 186 SendResponse(kHttpNotFound, MediaInfoLoader::kFailed);
187 EXPECT_FALSE(loader_->DidPassCORSAccessCheck()); 187 EXPECT_FALSE(loader_->DidPassCORSAccessCheck());
188 } 188 }
189 189
190 } // namespace content 190 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/android/media_info_loader.h ('k') | content/renderer/media/android/media_source_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698