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

Unified Diff: content/shell/browser/layout_test/layout_test_download_manager_delegate.cc

Issue 1128633002: content: Rename WebKitTestController to BlinkTestController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang-format Created 5 years, 7 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
Index: content/shell/browser/layout_test/layout_test_download_manager_delegate.cc
diff --git a/content/shell/browser/layout_test/layout_test_download_manager_delegate.cc b/content/shell/browser/layout_test/layout_test_download_manager_delegate.cc
index a4d95404f7c3c41541591e2b3ee8dbe79b9430f9..12e5d61457a7a4aa27abf8eea4f97e518d0ea0ad 100644
--- a/content/shell/browser/layout_test/layout_test_download_manager_delegate.cc
+++ b/content/shell/browser/layout_test/layout_test_download_manager_delegate.cc
@@ -15,7 +15,7 @@
#include "base/logging.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
-#include "content/shell/browser/webkit_test_controller.h"
+#include "content/shell/browser/blink_test_controller.h"
#include "net/base/filename_util.h"
#if defined(OS_WIN)
@@ -34,9 +34,9 @@ LayoutTestDownloadManagerDelegate::~LayoutTestDownloadManagerDelegate(){
bool LayoutTestDownloadManagerDelegate::ShouldOpenDownload(
DownloadItem* item,
const DownloadOpenDelayedCallback& callback) {
- if (WebKitTestController::Get()->IsMainWindow(item->GetWebContents()) &&
+ if (BlinkTestController::Get()->IsMainWindow(item->GetWebContents()) &&
item->GetMimeType() == "text/html") {
- WebKitTestController::Get()->OpenURL(
+ BlinkTestController::Get()->OpenURL(
net::FilePathToFileURL(item->GetFullPath()));
}
return true;

Powered by Google App Engine
This is Rietveld 408576698