Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: rlz/test/rlz_test_helpers.h

Issue 11365107: [cros] RlzValueStore implementation for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert to Chrome-only Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « rlz/rlz.gyp ('k') | rlz/test/rlz_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/test/rlz_test_helpers.h
diff --git a/rlz/test/rlz_test_helpers.h b/rlz/test/rlz_test_helpers.h
index 66bb525304181855f2305680a6f61cca70ccd976..6ca606db4581c213fa2f70d9f376b700219477d1 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 {
« no previous file with comments | « rlz/rlz.gyp ('k') | rlz/test/rlz_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698