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

Side by Side Diff: chrome/test/remoting/remote_desktop_browsertest.h

Issue 1554313002: Adding changes to Remote_Desktop_BrowserTest ConnecToRemoteHost to verify if the remote host is onl… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting the files Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ 5 #ifndef CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_
6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ 6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_
7 7
8 #include "base/debug/stack_trace.h" 8 #include "base/debug/stack_trace.h"
9 #include "chrome/browser/apps/app_browsertest_util.h" 9 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // Helper to check whether a html element with the given name is visible in 303 // Helper to check whether a html element with the given name is visible in
304 // the active WebContents. 304 // the active WebContents.
305 bool HtmlElementVisible(const std::string& name); 305 bool HtmlElementVisible(const std::string& name);
306 306
307 // Click on the named HTML control in the active WebContents. 307 // Click on the named HTML control in the active WebContents.
308 void ClickOnControl(const std::string& name); 308 void ClickOnControl(const std::string& name);
309 309
310 // Wait for the me2me connection to be established. 310 // Wait for the me2me connection to be established.
311 void WaitForConnection(); 311 void WaitForConnection();
312 312
313 // Checking whether the host is online.
314 bool IsHostOnline(const std::string& element_id);
315
313 // Checking whether the localHost has been initialized. 316 // Checking whether the localHost has been initialized.
314 bool IsLocalHostReady(); 317 bool IsLocalHostReady();
315 318
316 // Checking whether the hosts list has been initialized. 319 // Checking whether the hosts list has been initialized.
317 bool IsHostListReady(); 320 bool IsHostListReady();
318 321
319 // Callback used by EnterPin to check whether the pin form is visible 322 // Callback used by EnterPin to check whether the pin form is visible
320 // and to dismiss the host-needs-update dialog. 323 // and to dismiss the host-needs-update dialog.
321 bool IsPinFormVisible(); 324 bool IsPinFormVisible();
322 325
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 std::string password_; 392 std::string password_;
390 std::string me2me_pin_; 393 std::string me2me_pin_;
391 std::string remote_host_name_; 394 std::string remote_host_name_;
392 std::string extension_name_; 395 std::string extension_name_;
393 std::string http_server_; 396 std::string http_server_;
394 }; 397 };
395 398
396 } // namespace remoting 399 } // namespace remoting
397 400
398 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ 401 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698