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

Unified Diff: chrome/browser/content_settings/content_settings_details.h

Issue 440423003: Clean content_settings_pattern_parser.* from unnecessary dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed the clients Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/content_settings/content_settings_details.h
diff --git a/chrome/browser/content_settings/content_settings_details.h b/chrome/browser/content_settings/content_settings_details.h
index 523f9dedb140e74d32313430194ded8952a846b0..373b475e9acd518e3c6968c86641ab2e70e84e6a 100644
--- a/chrome/browser/content_settings/content_settings_details.h
+++ b/chrome/browser/content_settings/content_settings_details.h
@@ -36,10 +36,7 @@ class ContentSettingsDetails {
}
// True if all settings should be updated for the given type.
- bool update_all() const {
- return primary_pattern_.ToString().empty() &&
- secondary_pattern_.ToString().empty();
- }
+ bool update_all() const;
// The type of the pattern whose settings have changed.
ContentSettingsType type() const { return type_; }
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_details.cc » ('j') | chrome/common/content_settings_pattern.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698