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

Unified Diff: content/public/test/test_browser_context.cc

Issue 10909182: Make FileSystemContext respect StoragePartitions. filesystem:// urls will be properly isolated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch unittest fix from michael Created 8 years, 3 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
Index: content/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index 4a5dc0f6fe11f4a0b9d8a38fcf89e18d8b742e66..db50081e3d0afbf68a195f076c11f8ceabbd14f1 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -36,6 +36,10 @@ class AnyThreadNonTaskRunner : public base::SingleThreadTaskRunner {
NOTREACHED();
return false;
}
+
+ private:
+ ~AnyThreadNonTaskRunner() {
+ }
};
class TestContextURLRequestContextGetter : public net::URLRequestContextGetter {
@@ -121,6 +125,12 @@ TestBrowserContext::GetMediaRequestContextForRenderProcess(
return NULL;
}
+net::URLRequestContextGetter*
+TestBrowserContext::GetMediaRequestContextForStoragePartition(
+ const std::string& partition_id) {
+ return NULL;
+}
+
ResourceContext* TestBrowserContext::GetResourceContext() {
if (!resource_context_.get())
resource_context_.reset(new MockResourceContext());

Powered by Google App Engine
This is Rietveld 408576698