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

Unified Diff: chrome/browser/managed_mode/managed_mode_url_filter.h

Issue 11299035: Support manual (white|black)list, previewing and allowing after interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved back to GURLs instead of patterns, minor edits. Created 8 years 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/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_;

Powered by Google App Engine
This is Rietveld 408576698