summaryrefslogtreecommitdiffstats
path: root/ash/test/shelf_test_api.cc
diff options
context:
space:
mode:
authorhanxi <hanxi@chromium.org>2015-04-27 12:09:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-27 19:09:56 +0000
commit6233f60f246f03cd193bd9ecebbeb314813406d8 (patch)
tree652428b257cc220daf3fc804982efe648769e56e /ash/test/shelf_test_api.cc
parent59f6756e6aa719a7d727ecb98456d185d1b57752 (diff)
downloadchromium_src-6233f60f246f03cd193bd9ecebbeb314813406d8.zip
chromium_src-6233f60f246f03cd193bd9ecebbeb314813406d8.tar.gz
chromium_src-6233f60f246f03cd193bd9ecebbeb314813406d8.tar.bz2
Make WebUI webview content script work with incognito.
In WebUIUserScriptLoader, if it is incognito mode, we need to get the OffTheRecordContext and pass it to URLfetchers to load user scripts. Currently, UserScriptLoader can only refer to regular profiles. To fix this, we pass in a flag to show whether it is incognito mode when adding scripts. We are able to choose the correct profile pointer by using this flag. BUG=461052 Review URL: https://codereview.chromium.org/1062963006 Cr-Commit-Position: refs/heads/master@{#327096}
Diffstat (limited to 'ash/test/shelf_test_api.cc')
0 files changed, 0 insertions, 0 deletions