| URL: https://chromium.googlesource.com/chromium/src.git/+archive/51.0.2704.63.tar.gz |
| Version: commit 8726b6fe03a76ef686c9e1606e67169c177cb883 (matching Chromium 51.0.2704.63) |
| License: BSD, MPL, ICU (one source file under MPL, one source file under ICU) |
| License File: LICENSE |
| |
| Description: |
| A small library for parsing and canonicalizing URLs |
| |
| Local Modifications: |
| 1. src/base directory: |
| - Remove the include of base/base_export.h. Define BASE_EXPORT as empty string. |
| - Wrap namespace base with namespace url to distinguish from google3 base. |
| - src/base/strings/string16.* |
| * PrintTo function and operator << are removed to eliminate dependency on |
| src/base/strings/utf_string_conversion. |
| - src/base/strings/string_piece.* |
| * Add constructor for ::string. |
| * Change DCHECK_IS_ON() to !NDEBUG. |
| - src/base/strings/string_util.* |
| * Removed the include of base/compiler_specific.h. |
| * Only the needed functions are kept. |
| - src/base/third_party/icu/icu_utf.cc |
| * Add base/macros.h and FALLTHROUGH_INTENDED for fall-through switch cases. |
| |
| 2. src/url directory: |
| - Use google3 version of //base, //util/gtl/lazy_static_ptr.h, |
| //third_party/icu and //testing/base/public:gunit_main. Some users don't want |
| googleurl to be dependent on google3 (e.g. geo/render/mirth/net:googleurl), |
| so we try our best to do it. |
| - Change NOTREACHED() to DCHECK(false). |
| - src/url/origin.cc |
| * Remove the include of base/strings/string_number_conversions.h. |
| - src/url/scheme_host_port.cc |
| * Remove the includes of base/numerics/safe_conversions.h and |
| base/strings/string_number_conversions.h. |
| * Include url/url_canon_internal.h. |
| * Replace base::checked_cast with static_cast. |
| * Change base::UintToString to _itoa_s, which is used in other places. |
| - src/url/url_canon_icu.cc |
| * Replace LazyInstance with google3 LazyStaticPtr, modify intialization |
| and access methods accordingly. |
| - src/url/url_util.cc |
| * Replace ANNOTATE_LEAKING_OBJECT_PTR() with google3 |
| HeapLeakChecker::IgnoreObject(), and only use it when GOOGLEURL_IN_GOOGLE3 |
| is defined. |
| - src/url/url_canon_icu.h and src/url/url_canon_stdstring.h |
| * Remove the include of src/base/compiler_specific.h. |
| - src/url/third_party/mozilla/url_parse.cc |
| * Compile filesystemurl related function only when NO_FILESYSTEMURL_SUPPORT |
| is not defined, so that wireless/android/icing/lib/core doesn't need to |
| depend on other googleurl srcs as well as third_party/icu. |
| |
| 3. google3_additions directory: |
| 2014-07-30: added google3_additions/googleurl_init.cc, which properly |
| initializes googleurl during InitGoogle(). |