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

Unified Diff: content/renderer/android/phone_number_detector.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/renderer/android/phone_number_detector.cc
diff --git a/content/renderer/android/phone_number_detector.cc b/content/renderer/android/phone_number_detector.cc
index 19c526f9bd0a3dda355e426f0214b929996e9df4..843adfaad1d810638aa39818a818560cdef57dfd 100644
--- a/content/renderer/android/phone_number_detector.cc
+++ b/content/renderer/android/phone_number_detector.cc
@@ -54,12 +54,13 @@ GURL PhoneNumberDetector::GetIntentURL(const std::string& content_text) {
net::EscapeQueryParamValue(content_text, true));
}
-bool PhoneNumberDetector::FindContent(const string16::const_iterator& begin,
- const string16::const_iterator& end,
- size_t* start_pos,
- size_t* end_pos,
- std::string* content_text) {
- string16 utf16_input = string16(begin, end);
+bool PhoneNumberDetector::FindContent(
+ const base::string16::const_iterator& begin,
+ const base::string16::const_iterator& end,
+ size_t* start_pos,
+ size_t* end_pos,
+ std::string* content_text) {
+ base::string16 utf16_input = base::string16(begin, end);
std::string utf8_input = UTF16ToUTF8(utf16_input);
PhoneNumberMatcher matcher(utf8_input, region_code_);
« no previous file with comments | « content/renderer/android/phone_number_detector.h ('k') | content/renderer/android/phone_number_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698