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

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: 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
« no previous file with comments | « no previous file | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6bdfa7ee06bb29be98511786ace49c5479e7d752 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 kUserNameField[] = "username";
weitao 2014/10/08 23:19:16 Isn't it called "user-name" in the json file?
anandc 2014/10/09 00:15:24 It was "user_name", but I then updated it to "user
+const char kPasswordField[] = "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);
+ bool 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_;
weitao 2014/10/08 23:19:16 Why store the file path if it's not used anywhere
anandc 2014/10/09 00:15:24 Done.
+ std::string account_type_;
weitao 2014/10/08 23:19:16 Same as above.
anandc 2014/10/09 00:15:24 Done.
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698