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

Unified Diff: chrome/browser/extensions/extension_cookies_unittest.cc

Issue 3210007: Add support for a "split" incognito behavior for extensions. (Closed)
Patch Set: latest Created 10 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
Index: chrome/browser/extensions/extension_cookies_unittest.cc
diff --git a/chrome/browser/extensions/extension_cookies_unittest.cc b/chrome/browser/extensions/extension_cookies_unittest.cc
index 0abbe7e3165447396156c561fb114c2f4fab99c4..ec9084af400a058ceeda3cee5b2b4f6d8a3cea2a 100644
--- a/chrome/browser/extensions/extension_cookies_unittest.cc
+++ b/chrome/browser/extensions/extension_cookies_unittest.cc
@@ -83,16 +83,16 @@ TEST_F(ExtensionCookiesTest, StoreIdProfileConversion) {
EXPECT_EQ(std::string("1"),
extension_cookies_helpers::GetStoreIdFromProfile(&otrProfile));
- EXPECT_EQ(&profile,
+ EXPECT_EQ(NULL,
extension_cookies_helpers::ChooseProfileFromStoreId(
"0", &otrProfile, true));
- EXPECT_EQ(&profile,
+ EXPECT_EQ(NULL,
extension_cookies_helpers::ChooseProfileFromStoreId(
"0", &otrProfile, false));
EXPECT_EQ(&otrProfile,
extension_cookies_helpers::ChooseProfileFromStoreId(
"1", &otrProfile, true));
- EXPECT_EQ(NULL,
+ EXPECT_EQ(&otrProfile,
extension_cookies_helpers::ChooseProfileFromStoreId(
"1", &otrProfile, false));
}
« no previous file with comments | « chrome/browser/extensions/extension_cookies_helpers.cc ('k') | chrome/browser/extensions/extension_devtools_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698