summaryrefslogtreecommitdiffstats
path: root/rlz/lib/rlz_lib.cc
diff options
context:
space:
mode:
authorivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 11:16:39 +0000
committerivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 11:16:39 +0000
commitcf3aef70329cd30fe6e9a85efa404ba5c4750076 (patch)
tree3d2d8944351dfe6573b92ab22791cef71f67ed68 /rlz/lib/rlz_lib.cc
parentcba3a4bd653a63d4daaa218ceaf3a419024f1c50 (diff)
downloadchromium_src-cf3aef70329cd30fe6e9a85efa404ba5c4750076.zip
chromium_src-cf3aef70329cd30fe6e9a85efa404ba5c4750076.tar.gz
chromium_src-cf3aef70329cd30fe6e9a85efa404ba5c4750076.tar.bz2
[cros,rlz] Financial ping livelock fix and proper shutdown.
*) Fix the livelock on RLZ thread in FinancialPing *) RlzValueStore on chromeos destroys JsonPrefStore on proper thread. BUG=157348 Review URL: https://chromiumcodereview.appspot.com/11275284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/lib/rlz_lib.cc')
-rw-r--r--rlz/lib/rlz_lib.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rlz/lib/rlz_lib.cc b/rlz/lib/rlz_lib.cc
index 0f67cd4..a820d27 100644
--- a/rlz/lib/rlz_lib.cc
+++ b/rlz/lib/rlz_lib.cc
@@ -222,6 +222,10 @@ bool SetURLRequestContext(net::URLRequestContextGetter* context) {
void RLZ_LIB_API SetIOTaskRunner(base::SequencedTaskRunner* io_task_runner) {
RlzValueStoreChromeOS::SetIOTaskRunner(io_task_runner);
}
+
+void RLZ_LIB_API CleanupRlz() {
+ RlzValueStoreChromeOS::Cleanup();
+}
#endif
bool GetProductEventsAsCgi(Product product, char* cgi, size_t cgi_size) {