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

Unified Diff: chrome/common/renderer_configuration.typemap

Issue 2582203003: Convert SetContentSettingRules to use mojo, part 1/2. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/renderer_configuration.typemap
diff --git a/chrome/common/renderer_configuration.typemap b/chrome/common/renderer_configuration.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..76d0f54924cdf1e21f17dbc24c614a09e7c47a05
--- /dev/null
+++ b/chrome/common/renderer_configuration.typemap
@@ -0,0 +1,19 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+deps = [
+ "//mojo/public/cpp/bindings",
+]
+mojom = "//chrome/common/renderer_configuration.mojom"
+public_headers =
+ [ "//components/content_settings/core/common/content_settings.h" ]
+sources = [
+ "//chrome/common/renderer_configuration_struct_traits.cc",
+]
+traits_headers = [ "//chrome/common/renderer_configuration_struct_traits.h" ]
+type_mappings = [
+ "chrome.mojom.ContentSetting=::ContentSetting",
+ "chrome.mojom.ContentSettingPatternSource=::ContentSettingPatternSource",
+ "chrome.mojom.RendererContentSettingRules=::RendererContentSettingRules",
+]
Sam McNally 2016/12/19 00:17:51 Add public_deps = [ "//components/content_settings
nigeltao1 2016/12/22 04:09:45 Done.

Powered by Google App Engine
This is Rietveld 408576698