Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.h |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h |
index c1a6d7d7dabd5f0074385de173c664ded205a752..3bec47260e1eedc30e37213780e31c255d6f473c 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h |
@@ -235,6 +235,10 @@ class TabContentsWrapper : public TabContentsObserver, |
const content::NotificationDetails& details) OVERRIDE; |
private: |
+ friend class PerTabPrefsTabHelper; // for UpdateWebPreferences |
+ FRIEND_TEST_ALL_PREFIXES( |
+ PerTabPrefsTabHelperTest, OverridePrefsOnViewCreation); |
+ |
// Internal helpers ---------------------------------------------------------- |
// Message handlers. |