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

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

Issue 617103008: Update chromoting browser-tests to obtain user-name and password from a specified file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Continue to get user-name and password from command line if no file has been specified. Created 6 years, 2 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
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 e4a025ec53d95f545635813d9c5f0ab3e7451e8d..d2a46c201e345849d062e8af0b1b3b0dab9b0091 100644
--- a/chrome/test/remoting/remote_desktop_browsertest.h
+++ b/chrome/test/remoting/remote_desktop_browsertest.h
@@ -21,8 +21,10 @@ const char kNoCleanup[] = "no-cleanup";
const char kNoInstall[] = "no-install";
const char kWebAppCrx[] = "webapp-crx";
const char kWebAppUnpacked[] = "webapp-unpacked";
-const char kUsername[] = "username";
-const char kkPassword[] = "password";
+const char kUserName[] = "username";
+const char kPassword[] = "password";
+const char kAccountsFile[] = "accounts-file";
+const char kAccountType[] = "account-type";
const char kMe2MePin[] = "me2me-pin";
const char kRemoteHostName[] = "remote-host-name";
const char kExtensionName[] = "extension-name";
@@ -125,6 +127,8 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
void SimulateMouseClickAt(
int modifiers, blink::WebMouseEvent::Button button, int x, int y);
+ void SetUserNameAndPassword(const base::FilePath &accounts_file);
+
// The following helpers each perform a composite task.
// Install the chromoting extension
@@ -365,6 +369,8 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
base::FilePath webapp_unpacked_;
std::string username_;
std::string password_;
+ std::string accounts_file_;
+ std::string account_type_;
std::string me2me_pin_;
std::string remote_host_name_;
std::string extension_name_;
« no previous file with comments | « no previous file | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | chrome/test/remoting/remote_desktop_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698