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

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 1145463002: Plumb manifest fetching through WebTestDelegate interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index d9bfed292fa3ae6bce92948760bd4cc363701a75..6291b66ac7f983fef461b082898442f28a07b078 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -7,7 +7,6 @@
#include <limits>
#include "base/logging.h"
-#include "content/public/test/layouttest_support.h"
#include "content/shell/common/test_runner/test_preferences.h"
#include "content/shell/renderer/binding_helpers.h"
#include "content/shell/renderer/test_runner/mock_credential_manager_client.h"
@@ -2866,9 +2865,9 @@ void TestRunner::GetManifestThen(v8::Local<v8::Function> callback) {
scoped_ptr<InvokeCallbackTask> task(
new InvokeCallbackTask(this, callback));
- FetchManifest(web_view_, web_view_->mainFrame()->document().manifestURL(),
- base::Bind(&TestRunner::GetManifestCallback,
- weak_factory_.GetWeakPtr(),
+ delegate_->FetchManifest(
+ web_view_, web_view_->mainFrame()->document().manifestURL(),
+ base::Bind(&TestRunner::GetManifestCallback, weak_factory_.GetWeakPtr(),
base::Passed(&task)));
}
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/shell/renderer/test_runner/web_test_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698