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

Unified Diff: sky/viewer/internals.cc

Issue 715123002: Rename sky::TestObserver to sky::TestHarness (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/viewer/internals.h ('k') | sky/viewer/services/test_harness.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/internals.cc
diff --git a/sky/viewer/internals.cc b/sky/viewer/internals.cc
index e2aef967042a36e50ba466766bfde5d7e7b4ea19..9e51c9beff53ca22fb6293360d86b88e2e27454a 100644
--- a/sky/viewer/internals.cc
+++ b/sky/viewer/internals.cc
@@ -34,7 +34,7 @@ gin::Handle<Internals> Internals::Create(
Internals::Internals(DocumentView* document_view)
: document_view_(document_view->GetWeakPtr()) {
- mojo::ConnectToService(document_view->imported_services(), &test_observer_);
+ mojo::ConnectToService(document_view->imported_services(), &test_harness_);
}
Internals::~Internals() {
@@ -70,7 +70,7 @@ std::string Internals::ContentAsMarkup() {
}
void Internals::NotifyTestComplete(const std::string& test_result) {
- test_observer_->OnTestComplete(test_result);
+ test_harness_->OnTestComplete(test_result);
}
mojo::Handle Internals::ConnectToService(
« no previous file with comments | « sky/viewer/internals.h ('k') | sky/viewer/services/test_harness.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698