diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 3c72815..83b6f55 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -622,6 +622,10 @@ bool TabContents::IsContentBlocked(ContentSettingsType content_type) const { content_type == CONTENT_SETTINGS_TYPE_COOKIES) return content_blocked_[content_type]; + // TODO(joth): remove once fully implemented. + if (content_type == CONTENT_SETTINGS_TYPE_GEOLOCATION) + return false; + NOTREACHED(); return false; } @@ -2030,6 +2034,8 @@ void TabContents::DocumentLoadedInFrame() { } void TabContents::OnContentBlocked(ContentSettingsType type) { + // TODO(joth): remove once fully implemented. + DCHECK(type != CONTENT_SETTINGS_TYPE_GEOLOCATION); content_blocked_[type] = true; if (delegate_) delegate_->OnBlockedContentChange(this); |