update_engine: Replace NULL with nullptr

Replaced the usage of NULL with nullptr. This also makes it possible to
use standard gtest macros to compare pointers in Update Manager's unit tests.
So, there is no need in custom UMTEST_... macros which are replaced with the
gtest macros (see change in update_engine/update_manager/umtest_utils.h):

UMTEST_ASSERT_NULL(p)      => ASSERT_EQ(nullptr, p)
UMTEST_ASSERT_NOT_NULL(p)  => ASSERT_NE(nullptr, p)
UMTEST_EXPECT_NULL(p)      => EXPECT_EQ(nullptr, p)
UMTEST_EXPECT_NOT_NULL(p)  => EXPECT_NE(nullptr, p)

BUG=None
TEST=FEATURES=test emerge-link update_engine
     USE="clang asan" FEATURES=test emerge-link update_engine

Change-Id: I77a42a1e9ce992bb2f9f263db5cf75fe6110a4ec
Reviewed-on: https://chromium-review.googlesource.com/215136
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/libcurl_http_fetcher.h b/libcurl_http_fetcher.h
index 495a2a9..c59ca05 100644
--- a/libcurl_http_fetcher.h
+++ b/libcurl_http_fetcher.h
@@ -30,10 +30,10 @@
   LibcurlHttpFetcher(ProxyResolver* proxy_resolver,
                      SystemState* system_state)
       : HttpFetcher(proxy_resolver, system_state),
-        curl_multi_handle_(NULL),
-        curl_handle_(NULL),
-        curl_http_headers_(NULL),
-        timeout_source_(NULL),
+        curl_multi_handle_(nullptr),
+        curl_handle_(nullptr),
+        curl_http_headers_(nullptr),
+        timeout_source_(nullptr),
         transfer_in_progress_(false),
         transfer_size_(0),
         bytes_downloaded_(0),
@@ -218,7 +218,7 @@
   typedef std::map<int, std::pair<GIOChannel*, guint>> IOChannels;
   IOChannels io_channels_[2];
 
-  // if non-NULL, a timer we're waiting on. glib main loop will call us back
+  // if non-null, a timer we're waiting on. glib main loop will call us back
   // when it fires.
   GSource* timeout_source_;