diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 22:43:26 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 22:43:26 +0000 |
commit | 06e29a9c6a9f6279fcaca61fe10d7d31021b8b6e (patch) | |
tree | 7bbef5f0965da6cd321a11dd812e121fbd243161 /chrome/browser/profile_impl.cc | |
parent | 94f9c526e7d1241b8889ad66c5a72c2287d0f1fe (diff) | |
download | chromium_src-06e29a9c6a9f6279fcaca61fe10d7d31021b8b6e.zip chromium_src-06e29a9c6a9f6279fcaca61fe10d7d31021b8b6e.tar.gz chromium_src-06e29a9c6a9f6279fcaca61fe10d7d31021b8b6e.tar.bz2 |
DOM UI Settings - content settings exceptions tables
show/hide the OTR exceptions tables when an OTR profile comes into being or its flame is extinguished
BUG=57459
TEST=manual
Review URL: http://codereview.chromium.org/3757002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_impl.cc')
-rw-r--r-- | chrome/browser/profile_impl.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc index c3e90d3..e2ea94a 100644 --- a/chrome/browser/profile_impl.cc +++ b/chrome/browser/profile_impl.cc @@ -564,6 +564,11 @@ Profile* ProfileImpl::GetOffTheRecordProfile() { if (!off_the_record_profile_.get()) { scoped_ptr<Profile> p(CreateOffTheRecordProfile()); off_the_record_profile_.swap(p); + + NotificationService::current()->Notify( + NotificationType::OTR_PROFILE_CREATED, + Source<Profile>(off_the_record_profile_.get()), + NotificationService::NoDetails()); } return off_the_record_profile_.get(); } |