Index: chrome/browser/favicon/DEPS |
diff --git a/chrome/browser/favicon/DEPS b/chrome/browser/favicon/DEPS |
index 0b044f2ca6d9f4029efd73b0e5ef14ddc846dd42..943a1ecb2d754fedf806dce6ecd237004c3f2931 100644 |
--- a/chrome/browser/favicon/DEPS |
+++ b/chrome/browser/favicon/DEPS |
@@ -31,3 +31,24 @@ |
# Do not add to the list of temporarily-allowed dependencies above, |
# and please do not introduce more #includes of these files. |
] |
+ |
+specific_include_rules = { |
+ # TODO(caitkp): Look into removing history/ dependencies. |
+ 'favicon_download_helper(_delegate)*\.(h|cc)': [ |
+ "-chrome", |
+ "-chrome/browser", |
+ "+chrome/browser/favicon/favicon_download_helper.h", |
+ "+chrome/browser/favicon/favicon_download_helper_delegate.h", |
+ "+chrome/browser/favicon/favicon_util.h", |
+ "+chrome/common/icon_messages.h", |
+ ], |
+ |
+ 'favicon_util\.(h|cc)': [ |
+ "-chrome", |
+ "-chrome/browser", |
+ "+chrome/browser/favicon/favicon_util.h", |
+ "+chrome/common/icon_messages.h", |
+ "!chrome/browser/history/history_types.h", |
+ "!chrome/browser/history/select_favicon_frames.h", |
+ ] |
+} |