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

Unified Diff: chrome/browser/media/router/media_source_helper.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
Index: chrome/browser/media/router/media_source_helper.cc
diff --git a/chrome/browser/media/router/media_source_helper.cc b/chrome/browser/media/router/media_source_helper.cc
index 47c717a0196e9f7f1e52d72aea7dee5620926f86..a5d1288a77469a08030dfb9fe945219b8faf0ea9 100644
--- a/chrome/browser/media/router/media_source_helper.cc
+++ b/chrome/browser/media/router/media_source_helper.cc
@@ -34,13 +34,13 @@ MediaSource MediaSourceForPresentationUrl(const std::string& presentation_url) {
}
bool IsMirroringMediaSource(const MediaSource& source) {
- return StartsWithASCII(source.id(), kDesktopMediaUrn, true) ||
- StartsWithASCII(source.id(), kTabMediaUrnPrefix, true);
+ return base::StartsWithASCII(source.id(), kDesktopMediaUrn, true) ||
+ base::StartsWithASCII(source.id(), kTabMediaUrnPrefix, true);
}
bool IsValidMediaSource(const MediaSource& source) {
if (IsMirroringMediaSource(source) ||
- StartsWithASCII(source.id(), kCastUrnPrefix, true)) {
+ base::StartsWithASCII(source.id(), kCastUrnPrefix, true)) {
return true;
}
GURL url(source.id());
« no previous file with comments | « chrome/browser/local_discovery/device_description.cc ('k') | chrome/browser/media/webrtc_browsertest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698