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

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

Issue 802523004: Add a test case to test disabling remote connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: chrome/test/remoting/remote_desktop_browsertest.h
diff --git a/chrome/test/remoting/remote_desktop_browsertest.h b/chrome/test/remoting/remote_desktop_browsertest.h
index 7ec09817c82b90a1f644b3595142b52d4d2cb76a..ee822b8a64342bce1e93e974b4d58690c54099ec 100644
--- a/chrome/test/remoting/remote_desktop_browsertest.h
+++ b/chrome/test/remoting/remote_desktop_browsertest.h
@@ -351,6 +351,12 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
static bool IsHostActionComplete(
content::WebContents* client_web_content, std::string host_action_var);
+ // Test if the remoting app mode is matching the given mode
Jamie 2014/12/19 23:17:26 s/is matching/matches/ or s/matching/equal to/
yihongg1 2015/01/22 21:55:25 Done.
+ bool IsAppModeMatching(const std::string& mode);
Jamie 2014/12/19 23:17:26 Similar to the above, IsAppModeEqualTo would be a
yihongg1 2015/01/22 21:55:25 Done.
+
+ // Disable remote connection while the remote connection is enabled
+ void DisableRemoteConnection();
+
private:
// Fields

Powered by Google App Engine
This is Rietveld 408576698