Implement PermissionManager
This commit is contained in:
parent
eee334c7f6
commit
0cbf8b6cd2
5 changed files with 133 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "browser/brightray_paths.h"
|
||||
#include "browser/inspectable_web_contents_impl.h"
|
||||
#include "browser/network_delegate.h"
|
||||
#include "browser/permission_manager.h"
|
||||
#include "common/application_info.h"
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
|
@ -158,4 +159,10 @@ content::SSLHostStateDelegate* BrowserContext::GetSSLHostStateDelegate() {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
content::PermissionManager* BrowserContext::GetPermissionManager() {
|
||||
if (!permission_manager_.get())
|
||||
permission_manager_.reset(new PermissionManager);
|
||||
return permission_manager_.get();
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue