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

Unified Diff: content/browser/appcache/appcache_quota_client.cc

Issue 2478573004: Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. (Closed)
Patch Set: Created 4 years, 1 month 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: content/browser/appcache/appcache_quota_client.cc
diff --git a/content/browser/appcache/appcache_quota_client.cc b/content/browser/appcache/appcache_quota_client.cc
index cff864026744cae1355f708754ab65c5d111414e..6edfd887762ec04bd74fef20be508a64acc9559c 100644
--- a/content/browser/appcache/appcache_quota_client.cc
+++ b/content/browser/appcache/appcache_quota_client.cc
@@ -184,7 +184,7 @@ void AppCacheQuotaClient::GetOriginsHelper(storage::StorageType type,
std::set<GURL> origins;
for (AppCacheStorage::UsageMap::const_iterator iter = map->begin();
iter != map->end(); ++iter) {
- if (opt_host.empty() || iter->first.host() == opt_host)
+ if (opt_host.empty() || iter->first.host_piece() == opt_host)
origins.insert(iter->first);
}
callback.Run(origins);

Powered by Google App Engine
This is Rietveld 408576698