Skip to content

Commit

Permalink
Update DEPS so that only browser directories can access content publi…
Browse files Browse the repository at this point in the history
…c API for browser.

TBR=ben
Review URL: http://codereview.chromium.org/8316004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105884 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jam@chromium.org committed Oct 17, 2011
1 parent f1ef8d4 commit fd31c22
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion chrome/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ include_rules = [
"+chrome/test",
"-content",
"+content/common",
"+content/public/browser",
"+content/public/common",
"+content/test",

# TODO(ben): remove this
"+content/public/browser/native_web_keyboard_event.h",

# Don't allow inclusion of these other libs we shouldn't be calling directly.
"-v8",
"-webkit",
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include_rules = [
"+chrome/views",
"+content/browser",
"+content/plugin/plugin_interpose_util_mac.h",
"+content/public/browser",
"+grit", # For generated headers
"+media/audio", # For audio input for speech input feature.
"+policy", # For generated headers and source
Expand Down
4 changes: 3 additions & 1 deletion content/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ include_rules = [
# directories in content/ so we disallow all of them.
"-content",
"+content/common",
"+content/public/browser",
"+content/public/common",
"+content/test",

# TODO(ben): remove this
"+content/public/browser/native_web_keyboard_event.h",

"+dbus",
"+grit",
"+gpu",
Expand Down
1 change: 1 addition & 0 deletions content/browser/DEPS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include_rules = [
"+content/gpu", # For gpu_info_collector.h and in-process GPU
"+content/public/browser",

# Other libraries.
"+third_party/iaccessible2",
Expand Down

0 comments on commit fd31c22

Please sign in to comment.