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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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
« no previous file with comments | « chrome/installer/util/shell_util_unittest.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 258817d2f980aef978682903a406237b446f8f4d..f34a5c74b0d2261f5d2ad138c33012d22ff1ee61 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -1512,7 +1512,7 @@ bool ChromeContentRendererClient::AllowPepperMediaStreamAPI(
(EndsWith(url_host, "talkgadget.google.com", false) ||
EndsWith(url_host, "plus.google.com", false) ||
EndsWith(url_host, "plus.sandbox.google.com", false)) &&
- StartsWithASCII(url.path(), "/hangouts/", false)) {
+ base::StartsWithASCII(url.path(), "/hangouts/", false)) {
return true;
}
// Allow access for tests.
« no previous file with comments | « chrome/installer/util/shell_util_unittest.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698