Update ResourceContext for Chrome 30
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215991.
This commit is contained in:
parent
4d6ee2c416
commit
9165424348
1 changed files with 10 additions and 0 deletions
|
@ -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_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue