| Index: content/public/test/browser_test_utils.h
|
| diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
|
| index 3f9af8e98423f47abfd2c1878258bf65617c8ff5..83ea128e9c5f8a1c7bb6faea38b374be7b770563 100644
|
| --- a/content/public/test/browser_test_utils.h
|
| +++ b/content/public/test/browser_test_utils.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_
|
| #define CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| @@ -101,9 +102,14 @@ bool ExecuteJavaScriptAndExtractString(
|
| const std::wstring& script,
|
| std::string* result) WARN_UNUSED_RESULT;
|
|
|
| -// Returns the cookies for the given url. Runs a nested message loop.
|
| +// Returns the cookies for the given url.
|
| std::string GetCookies(BrowserContext* browser_context, const GURL& url);
|
|
|
| +// Sets a cookie for the given url. Returns true on success.
|
| +bool SetCookie(BrowserContext* browser_context,
|
| + const GURL& url,
|
| + const std::string& value);
|
| +
|
| // Watches title changes on a tab, blocking until an expected title is set.
|
| class TitleWatcher : public NotificationObserver {
|
| public:
|
|
|