summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_flash_proxy.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 22:35:53 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 22:35:53 +0000
commitbc2eeb4a236eab44d172d4737d16c9c237db4210 (patch)
tree23a8649559051ce1486c143aaf88302692a365d3 /ppapi/proxy/ppb_flash_proxy.cc
parentb2e8e0bde68e71b365d556c029299c80439cbef7 (diff)
downloadchromium_src-bc2eeb4a236eab44d172d4737d16c9c237db4210.zip
chromium_src-bc2eeb4a236eab44d172d4737d16c9c237db4210.tar.gz
chromium_src-bc2eeb4a236eab44d172d4737d16c9c237db4210.tar.bz2
Add a way to query whether a given instance is off-the-record
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10278007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_flash_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_flash_proxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
index 9442539..842abeb 100644
--- a/ppapi/proxy/ppb_flash_proxy.cc
+++ b/ppapi/proxy/ppb_flash_proxy.cc
@@ -561,6 +561,8 @@ int32_t PPB_Flash_Proxy::GetSettingInt(PP_Instance instance,
case PP_FLASHSETTING_3DENABLED:
return static_cast<PluginDispatcher*>(dispatcher())->preferences().
is_3d_supported;
+ case PP_FLASHSETTING_INCOGNITO:
+ return static_cast<PluginDispatcher*>(dispatcher())->incognito();
default:
return -1;
}