diff options
author | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 22:22:12 +0000 |
---|---|---|
committer | bartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 22:22:12 +0000 |
commit | bd5831fb4aafd270ee8fccfe09791ab5c9b2eeaa (patch) | |
tree | 50bdd8677962b13fbbcf884dcc11c161d5b6bdfe /android_webview/native/intercepted_request_data_impl.cc | |
parent | 89438a9ff56ecde5b213cc4ecfbd2c91306ea47a (diff) | |
download | chromium_src-bd5831fb4aafd270ee8fccfe09791ab5c9b2eeaa.zip chromium_src-bd5831fb4aafd270ee8fccfe09791ab5c9b2eeaa.tar.gz chromium_src-bd5831fb4aafd270ee8fccfe09791ab5c9b2eeaa.tar.bz2 |
Mark device settings as trusted before sending change notifications
The DeviceSettingsProvider sends notifications that the settings have
changed before marking them as trusted. This means that anyone who
queries the device settings after receiving the notification will see
them still marked as untrusted. Worse, in some scenarios, the settings
will be marked as permanently untrusted, making it impossible to request
a further callback when they actually do become trusted.
This CL changes the order so that the device settings are marked as
trusted just before sending change notifications.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11421099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/intercepted_request_data_impl.cc')
0 files changed, 0 insertions, 0 deletions