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

Unified Diff: rlz/lib/rlz_value_store.h

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
« rlz/lib/rlz_lib.cc ('K') | « rlz/lib/rlz_lib.cc ('k') | rlz/rlz.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/rlz_value_store.h
diff --git a/rlz/lib/rlz_value_store.h b/rlz/lib/rlz_value_store.h
index ab7279ac64a9400f6c8f8959d1cb9dcf2256a031..bf54833618d7c2bf839a8ac85b1b7d876627a598 100644
--- a/rlz/lib/rlz_value_store.h
+++ b/rlz/lib/rlz_value_store.h
@@ -95,7 +95,12 @@ class ScopedRlzValueStoreLock {
RlzValueStore* GetStore();
private:
+#if defined(OS_WIN) || defined(OS_MACOS)
+ // On ChromeOS, there is a singleton instance of RlzValueStore.
scoped_ptr<RlzValueStore> store_;
+#elif defined(OS_CHROMEOS)
+ class RlzValueStoreChromeOS* store_;
+#endif
#if defined(OS_WIN)
LibMutex lock_;
#elif defined(OS_MACOSX)
« rlz/lib/rlz_lib.cc ('K') | « rlz/lib/rlz_lib.cc ('k') | rlz/rlz.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698