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

Unified Diff: rlz/lib/rlz_lib.cc

Issue 11365107: [cros] RlzValueStore implementation for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert test helpers 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
Index: rlz/lib/rlz_lib.cc
diff --git a/rlz/lib/rlz_lib.cc b/rlz/lib/rlz_lib.cc
index 8a1b729187e4f9ba9e764a1d5254c1113d96ef88..55a6b4910bd484e0f9674986a2b7079ab70d6d0f 100644
--- a/rlz/lib/rlz_lib.cc
+++ b/rlz/lib/rlz_lib.cc
@@ -16,6 +16,10 @@
#include "rlz/lib/rlz_value_store.h"
#include "rlz/lib/string_utils.h"
+#if defined(OS_CHROMEOS)
+#include "rlz/chromeos/lib/rlz_value_store_chromeos.h"
+#endif // defined(OS_CHROMEOS)
Roger Tawa OOO till Jul 10th 2012/11/06 20:55:11 one space after //
Ivan Korotkov 2012/11/07 10:49:12 Done.
+
namespace {
// Event information returned from ping response.
@@ -214,6 +218,12 @@ bool SetURLRequestContext(net::URLRequestContextGetter* context) {
}
#endif
+#if defined(OS_CHROMEOS)
+void RLZ_LIB_API SetIOTaskRunner(base::MessageLoopProxy* io_task_runner) {
+ RlzValueStoreChromeOS::SetIOTaskRunner(io_task_runner);
+}
+#endif
+
bool GetProductEventsAsCgi(Product product, char* cgi, size_t cgi_size) {
if (!cgi || cgi_size <= 0) {
ASSERT_STRING("GetProductEventsAsCgi: Invalid buffer");
« rlz/lib/rlz_lib.h ('K') | « rlz/lib/rlz_lib.h ('k') | rlz/lib/rlz_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698