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

Unified Diff: chrome/renderer/app_categorizer.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan 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
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/app_categorizer.cc
diff --git a/chrome/renderer/app_categorizer.cc b/chrome/renderer/app_categorizer.cc
index 42519779f555a46f96cbf139b90f19c3b105b78e..f42bed41b783f468a2fad79b8612d25396590a48 100644
--- a/chrome/renderer/app_categorizer.cc
+++ b/chrome/renderer/app_categorizer.cc
@@ -55,7 +55,7 @@ bool AppCategorizer::IsWhitelistedApp(
if (!app_url.SchemeIsCryptographic())
return false;
- std::string manifest_url_path = manifest_url.path();
+ base::StringPiece manifest_url_path = manifest_url.path();
bool is_photo_app =
manifest_url.SchemeIsCryptographic() &&
manifest_url.DomainIs("ssl.gstatic.com") &&
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698