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

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: Remove unnecessary member variables. Check for required values in Auth test. 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..51bd247e9cef8e9f4942ce13de803594ca840faf 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,9 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
void SimulateMouseClickAt(
int modifiers, blink::WebMouseEvent::Button button, int x, int y);
+ void SetUserNameAndPassword(
+ const base::FilePath &accounts_file, const std::string account_type);
weitao 2014/10/09 00:23:28 const std::string&
anandc 2014/10/09 00:39:59 Done.
+
// The following helpers each perform a composite task.
// Install the chromoting extension
« 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