use browser context from webcontents for registering datasource
This commit is contained in:
parent
fa5c8fc943
commit
0e956c497d
8 changed files with 27 additions and 28 deletions
|
@ -6,6 +6,7 @@
|
|||
#define BRIGHTRAY_BROWSER_DEVTOOLS_UI_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "content/public/browser/browser_context.h"
|
||||
#include "content/public/browser/web_ui_controller.h"
|
||||
|
||||
namespace brightray {
|
||||
|
@ -14,7 +15,8 @@ class BrowserContext;
|
|||
|
||||
class DevToolsUI : public content::WebUIController {
|
||||
public:
|
||||
explicit DevToolsUI(BrowserContext* browser_context, content::WebUI* web_ui);
|
||||
explicit DevToolsUI(content::BrowserContext* browser_context,
|
||||
content::WebUI* web_ui);
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(DevToolsUI);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue