| 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_
|
|
|