diff options
Diffstat (limited to 'rlz/test/rlz_test_helpers.h')
-rw-r--r-- | rlz/test/rlz_test_helpers.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rlz/test/rlz_test_helpers.h b/rlz/test/rlz_test_helpers.h index 66bb525..6ca606d 100644 --- a/rlz/test/rlz_test_helpers.h +++ b/rlz/test/rlz_test_helpers.h @@ -10,19 +10,30 @@ #include "base/compiler_specific.h" #include "testing/gtest/include/gtest/gtest.h" -#if defined(OS_MACOSX) +#if defined(OS_MACOSX) || defined(OS_CHROMEOS) #include "base/scoped_temp_dir.h" #endif +#if defined(OS_CHROMEOS) +#include "base/message_loop.h" +#include "base/threading/thread.h" +#endif class RlzLibTestNoMachineState : public ::testing::Test { protected: +#if defined(OS_CHROMEOS) + RlzLibTestNoMachineState(); +#endif virtual void SetUp() OVERRIDE; virtual void TearDown() OVERRIDE; -#if defined(OS_MACOSX) +#if defined(OS_MACOSX) || defined(OS_CHROMEOS) ScopedTempDir temp_dir_; #endif +#if defined(OS_CHROMEOS) + base::Thread pref_store_io_thread_; + MessageLoop message_loop_; +#endif }; class RlzLibTestBase : public RlzLibTestNoMachineState { |