| Index: content/public/test/test_utils.h
|
| diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
|
| index 3b824cc126b39ce7b199cc5cec5a841100baa292..0dc7a727fbc86b1e0d3140834241848a793cdf86 100644
|
| --- a/content/public/test/test_utils.h
|
| +++ b/content/public/test/test_utils.h
|
| @@ -19,11 +19,16 @@ namespace base {
|
| class Value;
|
| }
|
|
|
| +namespace net {
|
| +class CookieStore;
|
| +}
|
| +
|
| // A collection of functions designed for use with unit and browser tests.
|
|
|
| namespace content {
|
|
|
| class RenderViewHost;
|
| +class StoragePartition;
|
|
|
| // Turns on nestable tasks, runs the message loop, then resets nestable tasks
|
| // to what they were originally. Prefer this over MessageLoop::Run for in
|
| @@ -55,6 +60,10 @@ scoped_ptr<base::Value> ExecuteScriptAndGetValue(
|
| RenderViewHost* render_view_host,
|
| const std::string& script);
|
|
|
| +net::CookieStore* GetCookieStoreForScheme(
|
| + StoragePartition* storage_partition,
|
| + const std::string& scheme);
|
| +
|
| // Helper class to Run and Quit the message loop. Run and Quit can only happen
|
| // once per instance. Make a new instance for each use. Calling Quit after Run
|
| // has returned is safe and has no effect.
|
|
|