| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 42594)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -622,6 +622,10 @@
|
| 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::OnContentBlocked(ContentSettingsType type) {
|
| + // TODO(joth): remove once fully implemented.
|
| + DCHECK(type != CONTENT_SETTINGS_TYPE_GEOLOCATION);
|
| content_blocked_[type] = true;
|
| if (delegate_)
|
| delegate_->OnBlockedContentChange(this);
|
|
|