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

Unified Diff: rlz/lib/rlz_lib.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/lib/rlz_enums.h ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/rlz_lib.h
diff --git a/rlz/lib/rlz_lib.h b/rlz/lib/rlz_lib.h
index 1f8be5ca2d54966ea258d4742abfdc1a05a2464d..a8407419a9b26a6deb4236cc3fa586f12cdaa4a4 100644
--- a/rlz/lib/rlz_lib.h
+++ b/rlz/lib/rlz_lib.h
@@ -44,6 +44,12 @@
#endif
#endif
+#if defined(OS_CHROMEOS)
+namespace base {
+class SequencedTaskRunner;
+} // namespace base
+#endif
+
#if defined(RLZ_NETWORK_IMPLEMENTATION_CHROME_NET)
namespace net {
class URLRequestContextGetter;
@@ -71,6 +77,12 @@ const size_t kMaxPingResponseLength = 0x4000; // 16K
bool RLZ_LIB_API SetURLRequestContext(net::URLRequestContextGetter* context);
#endif
+#if defined(OS_CHROMEOS)
+// Set the MessageLoopProxy used by RLZ store to run I/O tasks on. Should be
+// called before any other API calls.
+void RLZ_LIB_API SetIOTaskRunner(base::SequencedTaskRunner* io_task_runner);
+#endif
+
// RLZ storage functions.
// Get all the events reported by this product as a CGI string to append to
« no previous file with comments | « rlz/lib/rlz_enums.h ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698