Fix API changes of Chrome 58

This commit is contained in:
Cheng Zhao 2017-04-04 13:43:49 +09:00
parent 0a110a44f9
commit c41fb922b3
13 changed files with 14 additions and 49 deletions

View file

@ -107,7 +107,6 @@ class InspectableWebContentsImpl :
void SetDevicesUpdatesEnabled(bool enabled) override;
void DispatchProtocolMessageFromDevToolsFrontend(
const std::string& message) override;
void RecordActionUMA(const std::string& name, int action) override;
void SendJsonRequest(const DispatchCallback& callback,
const std::string& browser_id,
const std::string& url) override;
@ -143,10 +142,12 @@ class InspectableWebContentsImpl :
const base::string16& source_id) override;
bool ShouldCreateWebContents(
content::WebContents* web_contents,
content::SiteInstance* source_site_instance,
int32_t route_id,
int32_t main_frame_route_id,
int32_t main_frame_widget_route_id,
content::mojom::WindowContainerType window_container_type,
const GURL& opener_url,
const std::string& frame_name,
const GURL& target_url,
const std::string& partition_id,