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 6665052622af57dd701255b6856175f784133bb7..2aa34a3ccfd78d0b22ecab402dcf42923b0bccec 100644 |
--- a/chrome/browser/extensions/extension_cookies_unittest.cc |
+++ b/chrome/browser/extensions/extension_cookies_unittest.cc |
@@ -42,6 +42,10 @@ class OtrTestingProfile : public TestingProfile { |
return linked_profile_; |
} |
+ virtual bool HasOffTheRecordProfile() { |
+ return (!IsOffTheRecord() && linked_profile_); |
+ } |
+ |
static void LinkProfiles(OtrTestingProfile* profile1, |
OtrTestingProfile* profile2) { |
profile1->set_linked_profile(profile2); |