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

Issue 11975009: Prevent a DCHECK when starting a chromeos=1 build with --stub-cros-settings. (Closed)

Created:
7 years, 11 months ago by Joao da Silva
Modified:
7 years, 11 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Prevent a DCHECK when starting a chromeos=1 build with --stub-cros-settings. This happens because an observer of kAppPack was added in crrev.com/172473. The fix shares all the setting names with DeviceSettingsProvider to avoid similar issues in the future. BUG=chromium:108928 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177205

Patch Set 1 #

Patch Set 2 : share setting names list #

Total comments: 2

Patch Set 3 : IsDeviceSettings() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -39 lines) Patch
M chrome/browser/chromeos/settings/device_settings_provider.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 5 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/settings/stub_cros_settings_provider.cc View 1 2 2 chunks +2 lines, -31 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Joao da Silva
7 years, 11 months ago (2013-01-16 14:04:26 UTC) #1
Mattias Nissler (ping if slow)
LGTM, but note that there are a number of other settings that DeviceSettingsProvider knows, but ...
7 years, 11 months ago (2013-01-16 14:17:18 UTC) #2
Joao da Silva
PTAL, sharing the setting names is a good idea.
7 years, 11 months ago (2013-01-16 14:36:34 UTC) #3
Mattias Nissler (ping if slow)
https://codereview.chromium.org/11975009/diff/5001/chrome/browser/chromeos/settings/device_settings_provider.h File chrome/browser/chromeos/settings/device_settings_provider.h (right): https://codereview.chromium.org/11975009/diff/5001/chrome/browser/chromeos/settings/device_settings_provider.h#newcode42 chrome/browser/chromeos/settings/device_settings_provider.h:42: static const char** kKnownSettingsEnd; thinking about it, can't we ...
7 years, 11 months ago (2013-01-16 14:48:36 UTC) #4
Joao da Silva
PTAL https://codereview.chromium.org/11975009/diff/5001/chrome/browser/chromeos/settings/device_settings_provider.h File chrome/browser/chromeos/settings/device_settings_provider.h (right): https://codereview.chromium.org/11975009/diff/5001/chrome/browser/chromeos/settings/device_settings_provider.h#newcode42 chrome/browser/chromeos/settings/device_settings_provider.h:42: static const char** kKnownSettingsEnd; On 2013/01/16 14:48:36, Mattias ...
7 years, 11 months ago (2013-01-16 15:10:08 UTC) #5
Mattias Nissler (ping if slow)
LGTM
7 years, 11 months ago (2013-01-16 18:06:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/11975009/10001
7 years, 11 months ago (2013-01-16 18:20:26 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-16 20:16:45 UTC) #8
Message was sent while issue was closed.
Change committed as 177205

Powered by Google App Engine
This is Rietveld 408576698