cce46a0c214b37e8da48c522c83037e8ffa4f9fd |
|
15-Jan-2016 |
Alex Vakulenko <avakulenko@google.com> |
libchrome: Uprev the library to r369476 from Chromium Pulled the latest and greatest version of libchrome from Chromium. The merge was done against r369476 which corresponds to git commit 0471d0e2e2ef4a544a63481a389e1df33ea7c00a of Jan 14, 2016 Notable changes are: - base::scoped_ptr<T> is now almost identical to std::unique_ptr<T> No Pass() method, now std::move() is used on scoped pointers - basictypes.h is removed and custom int types such as int32 are now replaced with the standard int32_t and similar from <stdint.h> - String utility functions are cleaned up/refactored. Now all are in base:: namespace, many now return values rather than take pointers for results, ambiguous Booleans are replaced with enums, such as: base::StartsWithASCII(current_url, "https://", false); now is: base::StartsWith(current_url, "https://", base::CompareCase::INSENSITIVE_ASCII); - COMPILE_ASSERT() is now replaced with standard static_assert() - Numeric range constants such as kuint64max are removed in favor of standard <limits> constructs such as std::numeric_limits<uint64_t>::max() - base::Value and derived classes use scoped_ptr<> more and support for raw pointers to base::Value is deprecated and/or removed in many places. - base::MessageLoopProxy is completely removed (was marked deprecated before) - base::MessageLoop::Quit() and QuitClosure are renamed to QuitWhenIdle and QuitWhenIdleClosure for more semantic clarity. (cherry picked from commit 0d205d712abd16eeed2f5d5b1052a367d23a223f) Change-Id: I4fb67d80eacd03186868c12c9509189d184e00bd
/external/libchrome/base/threading/thread_local_storage.h
|
b8803f9a9cde62141aebc7566550995910e0bd3f |
|
29-Dec-2015 |
Christopher Wiley <wiley@google.com> |
Fix no-missing-field-initializers warnings Bug: 26228533 Test: Compiles under clang/gcc, unittests pass for same Change-Id: I1cd4f5b7307f2316b2b55e8823382d52cf641826
/external/libchrome/base/threading/thread_local_storage.h
|
88ee374b55dcee26c0712f33ed88dde272225ff9 |
|
29-Dec-2015 |
Christopher Wiley <wiley@google.com> |
Revert "Fix compiler warnings in libchrome" This reverts commit b636ff6a8ac3b54b3067289f01848252ab71eceb. This broke trunk with messages like: In file included from external/libchrome/base/time/time_posix.cc:29:0: external/libchrome/base/lazy_instance.h:51:36: error: missing initializer for member 'base::LazyInstance<base::Lock, base::internal::LeakyLazyInstanceTraits<base::Lock> >::private_instance_' [-Werror=missing-field-initializers] #define LAZY_INSTANCE_INITIALIZER {} ^ external/libchrome/base/time/time_posix.cc:39:38: note: in expansion of macro 'LAZY_INSTANCE_INITIALIZER' g_sys_time_to_time_struct_lock = LAZY_INSTANCE_INITIALIZER; ^ external/libchrome/base/lazy_instance.h:51:36: error: missing initializer for member 'base::LazyInstance<base::Lock, base::internal::LeakyLazyInstanceTraits<base::Lock> >::private_buf_' [-Werror=missing-field-initializers] #define LAZY_INSTANCE_INITIALIZER {} ^ external/libchrome/base/time/time_posix.cc:39:38: note: in expansion of macro 'LAZY_INSTANCE_INITIALIZER' g_sys_time_to_time_struct_lock = LAZY_INSTANCE_INITIALIZER; ^ cc1plus: all warnings being treated as errors Change-Id: I0c0308e716bd1ed7914e2a032e439a9261d38e56
/external/libchrome/base/threading/thread_local_storage.h
|
b636ff6a8ac3b54b3067289f01848252ab71eceb |
|
17-Dec-2015 |
Christopher Wiley <wiley@google.com> |
Fix compiler warnings in libchrome Also fix compiler warnings in unit tests, except for unused parameter. There are a ton of unused parameters in unit tests, and those errors have no risk of spreading through the platform. Bug: 26228533 Test: libchrome builds, unittests pass Change-Id: I50431c8e143902c4b71b4381e4dbbc67cdc4507c
/external/libchrome/base/threading/thread_local_storage.h
|
b8cf94937c52feb53b55c39e3f82094d27de464c |
|
06-Jul-2015 |
Daniel Erat <derat@google.com> |
Add upstream code as of Chromium r334380. Copy the unchanged source from https://chromium.googlesource.com/chromium/src/base/ as of r334380 (really r334285 a.k.a. 23911a0c in the base/ subtree). Also add MODULE_LICENSE_BSD and copy Chromium's current LICENSE file to NOTICE. Bug: 22317122 Change-Id: I89863bfeca67b3a1ff05e6078f2f9ee4e31c5c99
/external/libchrome/base/threading/thread_local_storage.h
|