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

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

Issue 2766263003: Extensions: Only load incognito-enabled extensions in an incognito renderer. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 0929df4e0023835d6b22d316409d0d4ef8580042..528239932b612821258d9bc31ad86cfd6740b012 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -153,4 +153,12 @@ TestBrowserContext::CreateMediaRequestContextForStoragePartition(
return NULL;
}
+TestBrowserContextIncognito::TestBrowserContextIncognito() {}
+
+TestBrowserContextIncognito::~TestBrowserContextIncognito() {}
+
+bool TestBrowserContextIncognito::IsOffTheRecord() const {
+ return true;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698