| # Copyright 2025 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("session_restore_infobar") { |
| public = [ |
| "session_restore_infobar_controller.h", |
| "session_restore_infobar_delegate.h", |
| "session_restore_infobar_manager.h", |
| "session_restore_infobar_model.h", |
| "session_restore_infobar_prefs.h", |
| ] |
| sources = [ |
| "session_restore_infobar_controller.cc", |
| "session_restore_infobar_delegate.cc", |
| "session_restore_infobar_manager.cc", |
| "session_restore_infobar_model.cc", |
| "session_restore_infobar_prefs.cc", |
| ] |
| public_deps = [ "//base" ] |
| |
| deps = [ |
| "//chrome/app:branded_strings_grit", |
| "//chrome/app:generated_resources_grit", |
| "//chrome/browser/content_settings:content_settings_factory", |
| "//chrome/browser/infobars", |
| "//chrome/browser/profiles", |
| "//chrome/browser/sessions", |
| "//chrome/browser/ui:browser_list", |
| "//chrome/browser/ui:browser_navigator_params_headers", |
| "//chrome/browser/ui:browser_tab_strip", |
| "//chrome/browser/ui:ui_features", |
| "//chrome/browser/ui/browser_window", |
| "//chrome/browser/ui/startup", |
| "//chrome/browser/ui/tabs:tab_strip", |
| "//chrome/browser/ui/tabs:tab_strip_model_observer", |
| "//chrome/browser/ui/views/infobars", |
| "//chrome/common", |
| "//components/content_settings/core/browser", |
| "//components/infobars/content", |
| "//components/infobars/core", |
| "//components/omnibox/browser:vector_icons", |
| "//components/prefs", |
| "//components/tabs:public", |
| "//components/vector_icons", |
| "//content/public/browser", |
| "//ui/base", |
| "//url", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "session_restore_infobar_delegate_unittest.cc", |
| "session_restore_infobar_model_unittest.cc", |
| "session_restore_infobar_prefs_unittest.cc", |
| ] |
| |
| deps = [ |
| ":session_restore_infobar", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/browser:browser_process", |
| "//chrome/browser/prefs", |
| "//chrome/browser/profiles:profile_util", |
| "//chrome/browser/profiles:profiles_extra_parts", |
| "//chrome/common:constants", |
| "//chrome/test:test_support", |
| "//components/infobars/content", |
| "//components/omnibox/browser:vector_icons", |
| "//components/prefs", |
| "//components/prefs:test_support", |
| "//components/sync_preferences:test_support", |
| "//content/test:test_support", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("interactive_ui_tests") { |
| testonly = true |
| |
| sources = [ "session_restore_infobar_interactive_uitest.cc" ] |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| |
| deps = [ |
| ":session_restore_infobar", |
| "//base/test:test_support", |
| "//chrome/app:branded_strings", |
| "//chrome/app:command_ids", |
| "//chrome/app:generated_resources_grit", |
| "//chrome/browser:browser_process", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/ui:browser_element_identifiers", |
| "//chrome/browser/ui:ui_features", |
| "//chrome/browser/ui/startup", |
| "//chrome/browser/ui/toolbar", |
| "//chrome/browser/ui/views/infobars", |
| "//chrome/common", |
| "//chrome/common:constants", |
| "//chrome/test:test_support", |
| "//chrome/test:test_support_ui", |
| "//components/infobars/content", |
| "//components/infobars/core", |
| "//components/prefs", |
| "//testing/gtest", |
| "//ui/base", |
| ] |
| } |