Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/common/BUILD.gn

Issue 2900563002: Network service: Safe browsing check for sub-resources from renderer. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/util/process_version.gni") 6 import("//build/util/process_version.gni")
7 import("//chrome/common/features.gni") 7 import("//chrome/common/features.gni")
8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path.
9 import("//extensions/features/features.gni") 9 import("//extensions/features/features.gni")
10 import("//mojo/public/tools/bindings/mojom.gni") 10 import("//mojo/public/tools/bindings/mojom.gni")
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 ] 695 ]
696 696
697 configs += [ "//build/config/compiler:wexit_time_destructors" ] 697 configs += [ "//build/config/compiler:wexit_time_destructors" ]
698 698
699 deps = [ 699 deps = [
700 ":constants", 700 ":constants",
701 "//base", 701 "//base",
702 ] 702 ]
703 } 703 }
704 704
705 mojom("once_callback_mojo_bindings") {
706 sources = [
707 "safe_browsing.mojom",
708 ]
709
710 public_deps = [
711 "//content/public/common:resource_type_bindings",
712 "//url/mojo:url_mojom_gurl",
713 ]
714 }
715
705 mojom("mojo_bindings") { 716 mojom("mojo_bindings") {
706 sources = [ 717 sources = [
707 "cache_stats_recorder.mojom", 718 "cache_stats_recorder.mojom",
708 "conflicts/module_event_sink_win.mojom", 719 "conflicts/module_event_sink_win.mojom",
709 "file_patcher.mojom", 720 "file_patcher.mojom",
710 "image_context_menu_renderer.mojom", 721 "image_context_menu_renderer.mojom",
711 "insecure_content_renderer.mojom", 722 "insecure_content_renderer.mojom",
712 "net_benchmarking.mojom", 723 "net_benchmarking.mojom",
713 "network_diagnostics.mojom", 724 "network_diagnostics.mojom",
714 "open_search_description_document_handler.mojom", 725 "open_search_description_document_handler.mojom",
715 "prerender.mojom", 726 "prerender.mojom",
716 "renderer_configuration.mojom", 727 "renderer_configuration.mojom",
717 "resource_usage_reporter.mojom", 728 "resource_usage_reporter.mojom",
718 "shell_handler_win.mojom", 729 "shell_handler_win.mojom",
719 "thumbnail_capturer.mojom", 730 "thumbnail_capturer.mojom",
720 ] 731 ]
721 732
722 if (is_chromeos) { 733 if (is_chromeos) {
723 sources += [ "zip_file_creator.mojom" ] 734 sources += [ "zip_file_creator.mojom" ]
724 } 735 }
725 736
726 if (safe_browsing_mode == 1) { 737 if (safe_browsing_mode == 1) {
727 sources += [ "safe_archive_analyzer.mojom" ] 738 sources += [ "safe_archive_analyzer.mojom" ]
728 } 739 }
729 740
730 public_deps = [ 741 public_deps = [
742 ":once_callback_mojo_bindings",
731 "//components/content_settings/core/common:mojo_bindings", 743 "//components/content_settings/core/common:mojo_bindings",
732 "//mojo/common:common_custom_types", 744 "//mojo/common:common_custom_types",
733 "//ui/gfx/geometry/mojo", 745 "//ui/gfx/geometry/mojo",
734 "//url/mojo:url_mojom_gurl", 746 "//url/mojo:url_mojom_gurl",
735 ] 747 ]
736 748
737 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. 749 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
738 use_once_callback = false 750 use_once_callback = false
739 } 751 }
740 752
(...skipping 10 matching lines...) Expand all
751 763
752 mojom("page_load_metrics_mojom") { 764 mojom("page_load_metrics_mojom") {
753 sources = [ 765 sources = [
754 "page_load_metrics/page_load_metrics.mojom", 766 "page_load_metrics/page_load_metrics.mojom",
755 ] 767 ]
756 768
757 public_deps = [ 769 public_deps = [
758 "//mojo/common:common_custom_types", 770 "//mojo/common:common_custom_types",
759 ] 771 ]
760 } 772 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/mojo_safe_browsing_impl.cc ('k') | chrome/common/safe_browsing.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698