OLD | NEW |
1 // Copyright (C) 2009 Google Inc. | 1 // Copyright (C) 2009 Google Inc. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include <iostream> | 22 #include <iostream> |
23 #include <map> | 23 #include <map> |
24 #include <sstream> | 24 #include <sstream> |
25 #include <vector> | 25 #include <vector> |
26 | 26 |
27 #include <google/protobuf/message_lite.h> | 27 #include <google/protobuf/message_lite.h> |
28 #include <unicode/errorcode.h> | 28 #include <unicode/errorcode.h> |
29 #include <unicode/translit.h> | 29 #include <unicode/translit.h> |
30 | 30 |
31 #include "base/logging.h" | 31 #include "base/logging.h" |
32 #include "base/singleton.h" | 32 #include "base/memory/singleton.h" |
33 #include "default_logger.h" | 33 #include "default_logger.h" |
34 #include "logger_adapter.h" | 34 #include "logger_adapter.h" |
35 #include "metadata.h" | 35 #include "metadata.h" |
36 #include "phonemetadata.pb.h" | 36 #include "phonemetadata.pb.h" |
37 #include "phonenumber.h" | 37 #include "phonenumber.h" |
38 #include "phonenumber.pb.h" | 38 #include "phonenumber.pb.h" |
39 #include "regexp_adapter.h" | 39 #include "regexp_adapter.h" |
40 #include "stringutil.h" | 40 #include "stringutil.h" |
41 #include "utf/unicodetext.h" | 41 #include "utf/unicodetext.h" |
42 #include "utf/utf.h" | 42 #include "utf/utf.h" |
(...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2259 } | 2259 } |
2260 } | 2260 } |
2261 } | 2261 } |
2262 // One or more of the phone numbers we are trying to match is not a viable | 2262 // One or more of the phone numbers we are trying to match is not a viable |
2263 // phone number. | 2263 // phone number. |
2264 return INVALID_NUMBER; | 2264 return INVALID_NUMBER; |
2265 } | 2265 } |
2266 | 2266 |
2267 } // namespace phonenumbers | 2267 } // namespace phonenumbers |
2268 } // namespace i18n | 2268 } // namespace i18n |
OLD | NEW |