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

Side by Side Diff: third_party/libphonenumber/cpp/src/phonenumberutil.h

Issue 7044102: Another performance improvement for phone library - at least +25% to previous cl (982ms for 100 i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
22 22
23 #include <list> 23 #include <list>
24 #include <map> 24 #include <map>
25 #include <set> 25 #include <set>
26 #include <string> 26 #include <string>
27 #include <utility> 27 #include <utility>
28 #include <vector> 28 #include <vector>
29 #include <unicode/translit.h> 29 #include <unicode/translit.h>
30 30
31 #include "base/scoped_ptr.h" 31 #include "base/scoped_ptr.h"
32 #include "base/singleton.h" 32 #include "base/memory/singleton.h"
33 #include "phonenumber.pb.h" 33 #include "phonenumber.pb.h"
34 34
35 class TelephoneNumber; 35 class TelephoneNumber;
36 36
37 namespace i18n { 37 namespace i18n {
38 namespace phonenumbers { 38 namespace phonenumbers {
39 39
40 using std::list; 40 using std::list;
41 using std::map; 41 using std::map;
42 using std::pair; 42 using std::pair;
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 672
673 scoped_ptr<icu::Transliterator> transliterator_; 673 scoped_ptr<icu::Transliterator> transliterator_;
674 674
675 DISALLOW_COPY_AND_ASSIGN(PhoneNumberUtil); 675 DISALLOW_COPY_AND_ASSIGN(PhoneNumberUtil);
676 }; 676 };
677 677
678 } // namespace phonenumbers 678 } // namespace phonenumbers
679 } // namespace i18n 679 } // namespace i18n
680 680
681 #endif // I18N_PHONENUMBERS_PHONENUMBERUTIL_H_ 681 #endif // I18N_PHONENUMBERS_PHONENUMBERUTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698