summaryrefslogtreecommitdiffstats
path: root/content/renderer/android/address_detector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/android/address_detector.cc')
-rw-r--r--content/renderer/android/address_detector.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/renderer/android/address_detector.cc b/content/renderer/android/address_detector.cc
index 6d81c72..891ac34 100644
--- a/content/renderer/android/address_detector.cc
+++ b/content/renderer/android/address_detector.cc
@@ -6,6 +6,7 @@
#include <bitset>
+#include "base/logging.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "net/base/escape.h"
@@ -283,6 +284,13 @@ bool AddressDetector::FindContent(const string16::const_iterator& begin,
return false;
}
+AddressDetector::Word::Word(const string16::const_iterator& begin,
+ const string16::const_iterator& end)
+ : begin(begin),
+ end(end) {
+ DCHECK(begin <= end);
+}
+
bool AddressDetector::HouseNumberParser::IsPreDelimiter(
char16 character) {
return character == ':' || IsPostDelimiter(character);