summaryrefslogtreecommitdiffstats
path: root/content/shell/webkit_test_controller.cc
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 14:28:11 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 14:28:11 +0000
commit161245db8758536aa3afd83ff1f8b99f20ff68d5 (patch)
tree57fa8a87279d61724b3a0971dec5f20a3ac3e8f1 /content/shell/webkit_test_controller.cc
parent6b13d3ea6db2af7d4a5f003b8ef4c659971e85b0 (diff)
downloadchromium_src-161245db8758536aa3afd83ff1f8b99f20ff68d5.zip
chromium_src-161245db8758536aa3afd83ff1f8b99f20ff68d5.tar.gz
chromium_src-161245db8758536aa3afd83ff1f8b99f20ff68d5.tar.bz2
Notify policy change observers via a task
This prevents unexpected reentrancy in OnUpdatePolicy() in the case that an observer changes policy (leading to a recursive call to OnUpdatePolicy()). This avoids a crash that happens if we change the SyncDisabled policy, since this signs out the user and modifies policy while we are still iterating through the PolicyBundles in MergeAndTriggerUpdates(). BUG=155486 Review URL: https://chromiumcodereview.appspot.com/11667006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/webkit_test_controller.cc')
0 files changed, 0 insertions, 0 deletions