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

Unified Diff: chrome/test/remoting/remote_desktop_browsertest.cc

Issue 944183002: HostTableEntry refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Jamie's feedback Created 5 years, 10 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
« no previous file with comments | « no previous file | remoting/remoting_webapp_files.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/remoting/remote_desktop_browsertest.cc
diff --git a/chrome/test/remoting/remote_desktop_browsertest.cc b/chrome/test/remoting/remote_desktop_browsertest.cc
index 3f7f5759d22086d479e5cbf210bc18493f8337cd..4b397ee312b59813a831e2b13b259f1d69747ecc 100644
--- a/chrome/test/remoting/remote_desktop_browsertest.cc
+++ b/chrome/test/remoting/remote_desktop_browsertest.cc
@@ -557,13 +557,13 @@ void RemoteDesktopBrowserTest::ConnectToLocalHost(bool remember_pin) {
// Verify that the local host is online.
ASSERT_TRUE(ExecuteScriptAndExtractBool(
- "remoting.hostList.localHost_.hostName && "
- "remoting.hostList.localHost_.hostId && "
- "remoting.hostList.localHost_.status && "
- "remoting.hostList.localHost_.status == 'ONLINE'"));
+ "remoting.hostList.localHostSection_.host_.hostName && "
+ "remoting.hostList.localHostSection_.host_.hostId && "
+ "remoting.hostList.localHostSection_.host_.status && "
+ "remoting.hostList.localHostSection_.host_.status == 'ONLINE'"));
// Connect.
- ClickOnControl("this-host-connect");
+ ClickOnControl("local-host-connect-button");
// Enter the pin # passed in from the command line.
EnterPin(me2me_pin(), remember_pin);
@@ -823,7 +823,8 @@ void RemoteDesktopBrowserTest::WaitForConnection() {
bool RemoteDesktopBrowserTest::IsLocalHostReady() {
// TODO(weitaosu): Instead of polling, can we register a callback to
// remoting.hostList.setLocalHost_?
- return ExecuteScriptAndExtractBool("remoting.hostList.localHost_ != null");
+ return ExecuteScriptAndExtractBool(
+ "remoting.hostList.localHostSection_.host_ != null");
}
bool RemoteDesktopBrowserTest::IsHostListReady() {
« no previous file with comments | « no previous file | remoting/remoting_webapp_files.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698