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

Issue 1148323005: Add the ability to schedule any pending lossy prefs to be written. (Closed)

Created:
5 years, 7 months ago by benwells
Modified:
5 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the ability to schedule any pending lossy prefs to be written. This causes a write to be scheduled for any changes that have been made to lossy prefs. This allows pres which are mostly lossy to sometimes be treated as non-lossy. TBR=torne@chromium.rg BUG=491031 Committed: https://crrev.com/267305924adcdbf5f77e4e697eac14bbe87880e0 Cr-Commit-Position: refs/heads/master@{#331770}

Patch Set 1 #

Patch Set 2 : Android compile #

Patch Set 3 : oops #

Total comments: 2

Patch Set 4 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
M android_webview/browser/aw_pref_store.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M base/prefs/json_pref_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/prefs/json_pref_store.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M base/prefs/json_pref_store_unittest.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M base/prefs/overlay_user_pref_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/prefs/overlay_user_pref_store.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M base/prefs/persistent_pref_store.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M base/prefs/pref_service.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M base/prefs/pref_service.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M base/prefs/testing_pref_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/prefs/testing_pref_store.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prefs/leveldb_pref_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/leveldb_pref_store.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/tracked/segregated_pref_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/tracked/segregated_pref_store.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
benwells
5 years, 7 months ago (2015-05-28 03:37:30 UTC) #2
Mattias Nissler (ping if slow)
Wouldn't you want to add a function to PrefService as well in order to invoke ...
5 years, 6 months ago (2015-05-28 07:20:24 UTC) #3
benwells
Added the missing function to PrefService. https://codereview.chromium.org/1148323005/diff/40001/base/prefs/persistent_pref_store.h File base/prefs/persistent_pref_store.h (right): https://codereview.chromium.org/1148323005/diff/40001/base/prefs/persistent_pref_store.h#newcode70 base/prefs/persistent_pref_store.h:70: // Schedule a ...
5 years, 6 months ago (2015-05-28 08:49:46 UTC) #4
Mattias Nissler (ping if slow)
LGTM
5 years, 6 months ago (2015-05-28 09:00:25 UTC) #5
benwells
+tbr torne for fallout from adding function to PrefStore
5 years, 6 months ago (2015-05-28 12:03:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148323005/60001
5 years, 6 months ago (2015-05-28 12:03:44 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-05-28 13:08:17 UTC) #10
commit-bot: I haz the power
5 years, 6 months ago (2015-05-28 13:09:14 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/267305924adcdbf5f77e4e697eac14bbe87880e0
Cr-Commit-Position: refs/heads/master@{#331770}

Powered by Google App Engine
This is Rietveld 408576698