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

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, 7 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 "conflicts/module_event_sink_win.mojom", 704 "conflicts/module_event_sink_win.mojom",
705 "file_patcher.mojom", 705 "file_patcher.mojom",
706 "image_context_menu_renderer.mojom", 706 "image_context_menu_renderer.mojom",
707 "insecure_content_renderer.mojom", 707 "insecure_content_renderer.mojom",
708 "net_benchmarking.mojom", 708 "net_benchmarking.mojom",
709 "network_diagnostics.mojom", 709 "network_diagnostics.mojom",
710 "open_search_description_document_handler.mojom", 710 "open_search_description_document_handler.mojom",
711 "prerender.mojom", 711 "prerender.mojom",
712 "renderer_configuration.mojom", 712 "renderer_configuration.mojom",
713 "resource_usage_reporter.mojom", 713 "resource_usage_reporter.mojom",
714 "safe_browsing.mojom",
714 "shell_handler_win.mojom", 715 "shell_handler_win.mojom",
715 "thumbnail_capturer.mojom", 716 "thumbnail_capturer.mojom",
716 ] 717 ]
717 718
718 if (is_chromeos) { 719 if (is_chromeos) {
719 sources += [ "zip_file_creator.mojom" ] 720 sources += [ "zip_file_creator.mojom" ]
720 } 721 }
721 722
722 if (safe_browsing_mode == 1) { 723 if (safe_browsing_mode == 1) {
723 sources += [ "safe_archive_analyzer.mojom" ] 724 sources += [ "safe_archive_analyzer.mojom" ]
724 } 725 }
725 726
726 public_deps = [ 727 public_deps = [
727 "//components/content_settings/core/common:mojo_bindings", 728 "//components/content_settings/core/common:mojo_bindings",
729 "//content/public/common:resource_type_bindings",
728 "//mojo/common:common_custom_types", 730 "//mojo/common:common_custom_types",
729 "//ui/gfx/geometry/mojo", 731 "//ui/gfx/geometry/mojo",
730 "//url/mojo:url_mojom_gurl", 732 "//url/mojo:url_mojom_gurl",
731 ] 733 ]
732 734
733 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. 735 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
734 use_once_callback = false 736 use_once_callback = false
735 } 737 }
736 738
737 mojom("instant_mojom") { 739 mojom("instant_mojom") {
738 sources = [ 740 sources = [
739 "instant.mojom", 741 "instant.mojom",
740 ] 742 ]
741 743
742 public_deps = [ 744 public_deps = [
743 "//mojo/common:common_custom_types", 745 "//mojo/common:common_custom_types",
744 "//url/mojo:url_mojom_gurl", 746 "//url/mojo:url_mojom_gurl",
745 ] 747 ]
746 } 748 }
747 749
748 mojom("page_load_metrics_mojom") { 750 mojom("page_load_metrics_mojom") {
749 sources = [ 751 sources = [
750 "page_load_metrics/page_load_metrics.mojom", 752 "page_load_metrics/page_load_metrics.mojom",
751 ] 753 ]
752 754
753 public_deps = [ 755 public_deps = [
754 "//mojo/common:common_custom_types", 756 "//mojo/common:common_custom_types",
755 ] 757 ]
756 } 758 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698