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

Unified Diff: chrome/browser/net/chrome_url_request_context.cc

Issue 523137: Also match against the query string if present. (Closed)
Patch Set: updates Created 10 years, 11 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/net/chrome_url_request_context.cc
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index 36b984f7849dc5f957b521dc7788cb224f516606..ea6b94227639c9633b4d86654a518cabcd9a02b3 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -690,7 +690,7 @@ bool ChromeURLRequestContext::InterceptCookie(const URLRequest* request,
if (!blacklist_manager)
return NULL;
const Blacklist* blacklist = blacklist_manager->GetCompiledBlacklist();
- scoped_ptr<Blacklist::Match> match(blacklist->findMatch(request->url()));
+ scoped_ptr<Blacklist::Match> match(blacklist->FindMatch(request->url()));
if (!match.get())
return true;
if (match->attributes() & Blacklist::kDontStoreCookies) {
@@ -722,7 +722,7 @@ bool ChromeURLRequestContext::AllowSendingCookies(const URLRequest* request)
if (!blacklist_manager)
return NULL;
const Blacklist* blacklist = blacklist_manager->GetCompiledBlacklist();
- scoped_ptr<Blacklist::Match> match(blacklist->findMatch(request->url()));
+ scoped_ptr<Blacklist::Match> match(blacklist->FindMatch(request->url()));
if (!match.get())
return true;
if (match->attributes() & Blacklist::kDontSendCookies) {
« no previous file with comments | « no previous file | chrome/browser/privacy_blacklist/blacklist.h » ('j') | chrome/browser/privacy_blacklist/blacklist.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698