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

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

Issue 807343002: Adding the first set of remote test cases and associated framework. (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 373ae6bed981180b0b87e8a5ac2ad894055017d2..9fd74f145425f010848d7a6caf7369f25a60e42d 100644
--- a/chrome/test/remoting/remote_desktop_browsertest.h
+++ b/chrome/test/remoting/remote_desktop_browsertest.h
@@ -10,6 +10,7 @@
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/ui_test_utils.h"
+#include "chrome/test/remoting/remote_test_helper.h"
#include "content/public/browser/notification_service.h"
#include "content/public/test/browser_test_utils.h"
#include "net/dns/mock_host_resolver.h"
@@ -213,6 +214,10 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
return app_web_content_;
}
+ RemoteTestHelper remote_test_helper() {
+ return remote_test_helper_;
+ }
Jamie 2014/12/17 03:15:40 This returns an implicit copy of the helper, which
Mike Meade 2014/12/18 18:54:24 Done.
+
// Whether to perform the cleanup tasks (uninstalling chromoting, etc).
// This is useful for diagnostic purposes.
bool NoCleanup() { return no_cleanup_; }
@@ -370,6 +375,9 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
// will get acknowledgments of actions completed on the host.
content::WebContents* client_web_content_;
+ // Helper class to assist in performing and verifying remote operations.
+ RemoteTestHelper remote_test_helper_;
+
// WebContent of the landing page in the chromoting app.
content::WebContents* app_web_content_;

Powered by Google App Engine
This is Rietveld 408576698