shill: Compile against libchrome-180609
Made the following fixes to allow compile against a new libchrome:
- ScopedVector::reset() was renamed to "clear".
- Hack in base to add "using base::FilePath;" has been removed.
- Convert MessageLoop::current()->RunAllPending() to
base::RunLoop().RunUntilIdle().
- MessageLoopProxy::PostDelayedTask() now takes a base::TimeDelta().
- scoped_refptr::release() no longer exists.
- base/eintr_wrapper.h -> base/posix/eintr_wrapper.h
- base/scoped_temp_dir.h -> base/files/scoped_temp_dir.h
- base/string_tokenizer.h -> base/strings/string_tokenizer.h
- New scoped_ptr does compile check for naughty people making scoped_ptrs
of refcounted objects.
- base::SplitString() now returns an empty vector when given an empty
string (instead of a single-element vector with an empty string).
CQ-DEPEND=CL:43774
BUG=chromium-os:38931
TEST=Unit tests, run on real hardware
Change-Id: I6f1f5807e81fb2d52f197871d32ccbccc3038a7c
Reviewed-on: https://gerrit.chromium.org/gerrit/43775
Commit-Queue: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
diff --git a/shill_test_config.h b/shill_test_config.h
index 793e3bb..16c682b 100644
--- a/shill_test_config.h
+++ b/shill_test_config.h
@@ -7,7 +7,7 @@
#include <string>
-#include <base/scoped_temp_dir.h>
+#include <base/files/scoped_temp_dir.h>
#include "shill/shill_config.h"
@@ -22,7 +22,7 @@
virtual std::string GetStorageDirectory();
private:
- ScopedTempDir dir_;
+ base::ScopedTempDir dir_;
DISALLOW_COPY_AND_ASSIGN(TestConfig);
};