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

Side by Side Diff: content/DEPS

Issue 2946113002: Use FrameIsAd to decide whether to isolate a frame in TopDocumentIsolation mode. (Closed)
Patch Set: Doh... need to also change s/Default/Unspecified/ in chrome_content_browser_client.cc Created 3 years, 5 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 # Do NOT add chrome to the list below. We shouldn't be including files 1 # Do NOT add chrome to the list below. We shouldn't be including files
2 # from src/chrome in src/content. 2 # from src/chrome in src/content.
3 include_rules = [ 3 include_rules = [
4 # The subdirectories in content/ will manually allow their own include 4 # The subdirectories in content/ will manually allow their own include
5 # directories in content/ so we disallow all of them. 5 # directories in content/ so we disallow all of them.
6 "-content", 6 "-content",
7 "+content/app/resources/grit/content_resources.h", 7 "+content/app/resources/grit/content_resources.h",
8 "+content/common", 8 "+content/common",
9 "+content/grit", 9 "+content/grit",
10 "+content/public/common", 10 "+content/public/common",
11 "+content/public/test", 11 "+content/public/test",
12 "+content/test", 12 "+content/test",
13 13
14 "+blink/public/resources/grit", 14 "+blink/public/resources/grit",
15 15
16 "+cc", 16 "+cc",
17 "-cc/blink", 17 "-cc/blink",
18 18
19 "-components", 19 "-components",
20 # Content can depend on components that are: 20 # Content can depend on components that are:
21 # 1) related to the implementation of the web platform 21 # 1) related to the implementation of the web platform
22 # 2) shared code between third_party/WebKit and content 22 # 2) shared code between third_party/WebKit and content
23 # It should not depend on chrome features or implementation details, i.e. the 23 # It should not depend on chrome features or implementation details, i.e. the
24 # original components/ directories which was code split out from chrome/ to be 24 # original components/ directories which was code split out from chrome/ to be
25 # shared with iOS. This includes, but isn't limited to, browser features such 25 # shared with iOS. This includes, but isn't limited to, browser features such
26 # as autofill or extensions, and chrome implementation details such as 26 # as autofill or extensions, and chrome implementation details such as
27 # settings, packaging details, installation or crash reporting. 27 # settings, packaging details, installation or crash reporting.
28 "+components/variations",
Alexei Svitkine (slow) 2017/07/07 16:55:05 I do wonder if we shouldn't perhaps restrict this
Łukasz Anforowicz 2017/07/07 20:41:42 Good point. I've made changes that I think should
Alexei Svitkine (slow) 2017/07/10 18:46:24 That SGTM for now. Maybe we can file a crbug for t
Łukasz Anforowicz 2017/07/10 22:17:39 Done - https://crbug.com/740726.
28 29
29 "+crypto", 30 "+crypto",
30 "+grit/blink_resources.h", 31 "+grit/blink_resources.h",
31 "+grit/content_strings.h", 32 "+grit/content_strings.h",
32 33
33 "+dbus", 34 "+dbus",
34 "+gpu", 35 "+gpu",
35 "+media", 36 "+media",
36 "+mojo/common", 37 "+mojo/common",
37 "+mojo/edk/embedder", 38 "+mojo/edk/embedder",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "+jni", 119 "+jni",
119 ] 120 ]
120 121
121 # content -> content/shell dependency is not allowed, except for browser tests. 122 # content -> content/shell dependency is not allowed, except for browser tests.
122 specific_include_rules = { 123 specific_include_rules = {
123 ".*_browsertest[a-z_]*\.(cc|h)": [ 124 ".*_browsertest[a-z_]*\.(cc|h)": [
124 "+content/shell/browser", 125 "+content/shell/browser",
125 "+content/shell/common", 126 "+content/shell/common",
126 ], 127 ],
127 } 128 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698