blob: eab9cf365c97aaf62a71a76b7d18b31e714fb1ae [file] [log] [blame]
URL: https://chromium.googlesource.com/chromium/src/+archive/6e0744b15b09421eac6634fb3fb7fe0a03427d56/url.tar.gz
Version: 6e0744b15b09421eac6634fb3fb7fe0a03427d56 (matching Chromium 41.0.2272.118)
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 BASE_EXPORT macros.
- Wrap namespace base with namespace url to distinguish from google3 base.
- src/base/strings/string16.*
* Include src/build/build_config.h to detect wchar_t size.
* PrintTo function and operator << are removed to eliminate dependency on
src/base/strings/utf_string_conversion.
- src/base/strings/string_util.*
* Only one MatchPattern function is kept for src/url/origin.cc.
* Change the argument type from StringPiece to std::string to remove
dependency on google3 StringPiece.
- src/base/third_party/icu/icu_utf.cc
* Add 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.
- src/url/gurl.cc
* Replace scoped_ptr with std::unique_ptr to eliminate dependency on google3
scoped_ptr.
- 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_internal.h
* Expand NOT_REACHED() as DCHECK(false).
- 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:liburl_parse_icing_static doesn't need to
depend on other googleurl srcs as well as third_party/icu.
3. google3_addidions directory:
2014-07-30: added google3_additions/googleurl_init.cc, which properly
initializes googleurl during InitGoogle().