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

Issue 11365107: [cros] RlzValueStore implementation for ChromeOS. (Closed)

Created:
8 years, 1 month ago by Ivan Korotkov
Modified:
8 years, 1 month ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

[cros] RlzValueStore implementation for ChromeOS. BUG=157348 TEST=rlz_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166891

Patch Set 1 #

Patch Set 2 : Depend on base_prefs #

Patch Set 3 : merge #

Patch Set 4 : Single-threaded impl #

Patch Set 5 : No copies #

Patch Set 6 : Revert test helpers #

Total comments: 20

Patch Set 7 : Review fixes and RLZ store path #

Patch Set 8 : Add SetRlzStoreDirectory for testing #

Patch Set 9 : merge #

Patch Set 10 : Replace MessageLoopProxy with SequencedTaskRunner #

Patch Set 11 : Add ChromeOS access points. #

Patch Set 12 : Uploading tests #

Patch Set 13 : Now for realz #

Patch Set 14 : Enable on Chromium for testing (DO NOT COMMIT) #

Patch Set 15 : Fix compile on Mac #

Total comments: 2

Patch Set 16 : Revert to Chrome-only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -361 lines) Patch
A + rlz/chromeos/lib/machine_id_chromeos.cc View 1 chunk +5 lines, -6 lines 0 comments Download
A + rlz/chromeos/lib/rlz_value_store_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +53 lines, -36 lines 0 comments Download
A + rlz/chromeos/lib/rlz_value_store_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +195 lines, -295 lines 0 comments Download
M rlz/lib/financial_ping.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +16 lines, -8 lines 0 comments Download
M rlz/lib/lib_values.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
M rlz/lib/rlz_enums.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -7 lines 0 comments Download
M rlz/lib/rlz_lib.h View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -0 lines 0 comments Download
M rlz/lib/rlz_lib.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M rlz/lib/rlz_value_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +10 lines, -1 line 0 comments Download
M rlz/rlz.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download
M rlz/test/rlz_test_helpers.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -2 lines 0 comments Download
M rlz/test/rlz_test_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ivan Korotkov
Hi Roger, This adds ChromeOS-specific impl of RlzValueStore. It's deliberately not thread-safe because the underlying ...
8 years, 1 month ago (2012-11-06 16:30:49 UTC) #1
Roger Tawa OOO till Jul 10th
Hi Ivan, some questions and comments below. Thanks. http://codereview.chromium.org/11365107/diff/8010/rlz/chromeos/lib/rlz_value_store_chromeos.cc File rlz/chromeos/lib/rlz_value_store_chromeos.cc (right): http://codereview.chromium.org/11365107/diff/8010/rlz/chromeos/lib/rlz_value_store_chromeos.cc#newcode38 rlz/chromeos/lib/rlz_value_store_chromeos.cc:38: return ...
8 years, 1 month ago (2012-11-06 20:55:11 UTC) #2
Ivan Korotkov
http://codereview.chromium.org/11365107/diff/8010/rlz/chromeos/lib/rlz_value_store_chromeos.cc File rlz/chromeos/lib/rlz_value_store_chromeos.cc (right): http://codereview.chromium.org/11365107/diff/8010/rlz/chromeos/lib/rlz_value_store_chromeos.cc#newcode38 rlz/chromeos/lib/rlz_value_store_chromeos.cc:38: return FilePath("/tmp/1.rlz"); // TODO(ivankr) On 2012/11/06 20:55:11, Roger Tawa ...
8 years, 1 month ago (2012-11-07 10:49:12 UTC) #3
Ivan Korotkov
Hey Roger, I've updated tests as well so that they pass with chromeos=1 enable_rlz=1
8 years, 1 month ago (2012-11-08 15:28:27 UTC) #4
Roger Tawa OOO till Jul 10th
lgtm, but you need add the branding back in. http://codereview.chromium.org/11365107/diff/4007/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/11365107/diff/4007/build/common.gypi#newcode1411 build/common.gypi:1411: ...
8 years, 1 month ago (2012-11-08 19:26:58 UTC) #5
Ivan Korotkov
http://codereview.chromium.org/11365107/diff/4007/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/11365107/diff/4007/build/common.gypi#newcode1411 build/common.gypi:1411: ['OS=="win" or OS=="mac"', { On 2012/11/08 19:26:58, Roger Tawa ...
8 years, 1 month ago (2012-11-08 20:02:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/11365107/7014
8 years, 1 month ago (2012-11-09 08:35:12 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-09 11:05:00 UTC) #8
Change committed as 166891

Powered by Google App Engine
This is Rietveld 408576698