| Index: chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc (revision 147078)
|
| +++ chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc (working copy)
|
| @@ -2,7 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/utf_string_conversions.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/prerender/prerender_manager.h"
|
| @@ -48,22 +47,6 @@
|
| EXPECT_FALSE(content_setting_image_model->get_tooltip().empty());
|
| }
|
|
|
| -TEST_F(ContentSettingImageModelTest, RPHUpdateFromWebContents) {
|
| - scoped_ptr<ContentSettingImageModel> content_setting_image_model(
|
| - ContentSettingImageModel::CreateContentSettingImageModel(
|
| - CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS));
|
| - content_setting_image_model->UpdateFromWebContents(contents());
|
| - EXPECT_FALSE(content_setting_image_model->is_visible());
|
| -
|
| - TabSpecificContentSettings* content_settings =
|
| - tab_contents()->content_settings();
|
| - content_settings->set_pending_protocol_handler(
|
| - ProtocolHandler::CreateProtocolHandler(
|
| - "mailto", GURL("http://www.google.com/"), ASCIIToUTF16("Handler")));
|
| - content_setting_image_model->UpdateFromWebContents(contents());
|
| - EXPECT_TRUE(content_setting_image_model->is_visible());
|
| -}
|
| -
|
| TEST_F(ContentSettingImageModelTest, CookieAccessed) {
|
| TabSpecificContentSettings* content_settings =
|
| tab_contents()->content_settings();
|
|
|