Index: chrome/browser/managed_mode/managed_mode_url_filter.h |
diff --git a/chrome/browser/managed_mode/managed_mode_url_filter.h b/chrome/browser/managed_mode/managed_mode_url_filter.h |
index 294f74e25e762433b42eb3aa88e85d4ac6cce5a0..fbe17c545fbed62600d3405187b8516efc11aa8f 100644 |
--- a/chrome/browser/managed_mode/managed_mode_url_filter.h |
+++ b/chrome/browser/managed_mode/managed_mode_url_filter.h |
@@ -57,16 +57,16 @@ class ManagedModeURLFilter : public base::NonThreadSafe { |
void SetFromPatterns(const std::vector<std::string>& patterns, |
const base::Closure& continuation); |
- // Sets the manual whitelists |
+ // Sets the manual whitelists. |
void SetManualLists(scoped_ptr<ListValue> whitelist, |
scoped_ptr<ListValue> blacklist, |
const base::Closure& continuation); |
- void AddStringToManualBlacklist(const std::string& url, |
- const base::Closure& continuation); |
+ void AddURLPatternToManualBlacklist(const std::string& url, |
+ const base::Closure& continuation); |
- void AddStringToManualWhitelist(const std::string& url, |
- const base::Closure& continuation); |
+ void AddURLPatternToManualWhitelist(const std::string& url, |
+ const base::Closure& continuation); |
private: |
void SetContents(const base::Closure& callback, |
@@ -75,7 +75,8 @@ class ManagedModeURLFilter : public base::NonThreadSafe { |
base::WeakPtrFactory<ManagedModeURLFilter> weak_ptr_factory_; |
FilteringBehavior default_behavior_; |
scoped_ptr<Contents> contents_; |
- // The |url_manual_list_allow_| blocks all URLs except the one that are |
+ |
+ // The |url_manual_list_allow_| blocks all URLs except the ones that are |
// added while the |url_manual_list_block_| blocks only the URLs that are |
// added to it. |
policy::URLBlacklist url_manual_list_allow_; |