| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/logging.h" | 6 #include "base/logging.h" |
| 7 #include "base/memory/ptr_util.h" |
| 7 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 8 #include "base/values.h" | 9 #include "base/values.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/extension_service_test_with_install.h" | 11 #include "chrome/browser/extensions/extension_service_test_with_install.h" |
| 11 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" | 12 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" |
| 12 #include "chrome/browser/extensions/ntp_overridden_bubble_delegate.h" | 13 #include "chrome/browser/extensions/ntp_overridden_bubble_delegate.h" |
| 13 #include "chrome/browser/extensions/suspicious_extension_bubble_delegate.h" | 14 #include "chrome/browser/extensions/suspicious_extension_bubble_delegate.h" |
| 14 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/browser/ui/extensions/extension_message_bubble_bridge.h" | 16 #include "chrome/browser/ui/extensions/extension_message_bubble_bridge.h" |
| 16 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h" | 17 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 191 |
| 191 std::unique_ptr<ToolbarActionsBarBubbleDelegate::ExtraViewInfo> | 192 std::unique_ptr<ToolbarActionsBarBubbleDelegate::ExtraViewInfo> |
| 192 extra_view_info = bridge->GetExtraViewInfo(); | 193 extra_view_info = bridge->GetExtraViewInfo(); |
| 193 | 194 |
| 194 ASSERT_TRUE(extra_view_info); | 195 ASSERT_TRUE(extra_view_info); |
| 195 EXPECT_FALSE(extra_view_info->text.empty()); | 196 EXPECT_FALSE(extra_view_info->text.empty()); |
| 196 EXPECT_TRUE(extra_view_info->is_text_linked); | 197 EXPECT_TRUE(extra_view_info->is_text_linked); |
| 197 EXPECT_EQ(gfx::VectorIconId::VECTOR_ICON_NONE, | 198 EXPECT_EQ(gfx::VectorIconId::VECTOR_ICON_NONE, |
| 198 extra_view_info->resource_id); | 199 extra_view_info->resource_id); |
| 199 } | 200 } |
| OLD | NEW |