add basic spec

This commit is contained in:
deepak1556 2017-02-04 20:18:16 +05:30
parent 3aba23b471
commit a4400dc549
4 changed files with 49 additions and 5 deletions

View file

@ -65,7 +65,6 @@ void HandleExternalProtocolInUI(
void OnPdfStreamCreated(
std::unique_ptr<content::StreamInfo> stream,
int64_t expected_content_size,
const content::ResourceRequestInfo::WebContentsGetter& web_contents_getter,
int render_process_id,
int render_frame_id) {
@ -150,7 +149,6 @@ void AtomResourceDispatcherHostDelegate::OnStreamCreated(
content::BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&OnPdfStreamCreated, base::Passed(&stream),
request->GetExpectedContentSize(),
info->GetWebContentsGetterForRequest(), info->GetChildID(),
info->GetRenderFrameID()));
}