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

Unified Diff: content/public/test/test_utils.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change Cookie Override API to not expose the CookieStoreMap. Created 7 years, 4 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
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698