Update ResourceContext for Chrome 30

See http://src.chromium.org/viewvc/chrome?view=revision&revision=215991.
This commit is contained in:
Adam Roben 2013-10-07 16:25:17 -04:00
parent 4d6ee2c416
commit 9165424348

View file

@ -44,6 +44,16 @@ private:
return getter_->GetURLRequestContext(); return getter_->GetURLRequestContext();
} }
// FIXME: We should probably allow clients to override this to implement more restrictive policies.
virtual bool AllowMicAccess(const GURL& origin) OVERRIDE {
return true;
}
// FIXME: We should probably allow clients to override this to implement more restrictive policies.
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE {
return true;
}
URLRequestContextGetter* getter_; URLRequestContextGetter* getter_;
}; };