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

Unified Diff: chrome/browser/sync/test/integration/signin_helper.h

Issue 621153002: A Sign in to GAIA test utility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing comments Created 6 years, 1 month 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/browser/sync/test/integration/signin_helper.h
diff --git a/chrome/browser/sync/test/integration/signin_helper.h b/chrome/browser/sync/test/integration/signin_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..bb2b96999a40ba3c0fb87aa06cd18dce7ba9da31
--- /dev/null
+++ b/chrome/browser/sync/test/integration/signin_helper.h
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SIGNIN_HELPER_H_
+#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SIGNIN_HELPER_H_
+
+#include <string>
+
+class Browser;
+
+namespace signin_helper {
+
+// A function to sign in a user using Chrome sign-in UI interface.
+// This will connect to GAIA servers and kick in a sync cycle.
+bool SignInWithUI(Browser* browser,
+ const std::string& username,
+ const std::string& password);
+
+} // namespace signin_helper
+
+#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SIGNIN_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698