declaration_list
{ "{"
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild"
comment "//----------------------------------------------------------"...
function_definition (+228 nodes collapsed)
function_definition (+433 nodes collapsed)
function_definition (+51 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsISupports"
comment "//----------------------------------------------------------"...
expression_statement
call_expression
identifier "NS_IMPL_ADDREF"
argument_list
( "("
identifier "HttpChannelChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMETHODIMP_"
argument_list
( "("
identifier "MozExternalRefCountType"
) ")"
; ""
function_definition (+437 nodes collapsed)
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_BEGIN"
argument_list
( "("
identifier "HttpChannelChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIRequest"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIHttpChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIHttpChannelInternal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY_CONDITIONAL"
argument_list
( "("
identifier "nsICacheInfoChannel"
, ","
unary_expression
! "!"
call_expression
field_expression
identifier "mMultiPartID"
. "."
field_identifier "isSome"
argument_list
( "("
) ")"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIResumableChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsISupportsPriority"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIClassOfService"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIProxiedChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsITraceableChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIAsyncVerifyRedirectCallback"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIChildChannel"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIHttpChannelChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY_CONDITIONAL"
argument_list
( "("
identifier "nsIMultiPartChannel"
, ","
call_expression
field_expression
identifier "mMultiPartID"
. "."
field_identifier "isSome"
argument_list
( "("
) ")"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY_CONDITIONAL"
argument_list
( "("
identifier "nsIThreadRetargetableRequest"
, ","
unary_expression
! "!"
call_expression
field_expression
identifier "mMultiPartID"
. "."
field_identifier "isSome"
argument_list
( "("
) ")"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY_CONCRETE"
argument_list
( "("
identifier "HttpChannelChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_END_INHERITING"
argument_list
( "("
identifier "HttpBaseChannel"
) ")"
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::PHttpChannelChild"
comment "//----------------------------------------------------------"...
; ""
function_definition (+96 nodes collapsed)
function_definition (+172 nodes collapsed)
function_definition (+98 nodes collapsed)
function_definition (+177 nodes collapsed)
function_definition (+185 nodes collapsed)
function_definition (+1125 nodes collapsed)
function_definition (+107 nodes collapsed)
function_definition (+180 nodes collapsed)
function_definition (+474 nodes collapsed)
function_definition (+206 nodes collapsed)
function_definition (+703 nodes collapsed)
function_definition (+101 nodes collapsed)
function_definition (+157 nodes collapsed)
function_definition (+159 nodes collapsed)
function_definition (+156 nodes collapsed)
function_definition (+179 nodes collapsed)
function_definition (+375 nodes collapsed)
function_definition (+146 nodes collapsed)
function_definition (+173 nodes collapsed)
function_definition (+664 nodes collapsed)
function_definition (+164 nodes collapsed)
function_definition (+108 nodes collapsed)
comment "// We want to inspect all upgradable mixed content loads"
comment "// (i.e., loads point to HTTP from an HTTPS page), for"
comment "// resources that stem from audio, video and img elements."
comment "// Of those, we want to measure which succceed and which fai"...
comment "// Some double negatives, but we check the following:exempt "...
comment "// 1) Request was upgraded as mixed passive content"
comment "// 2) Request _could_ have been upgraded as mixed passive co"...
comment "// had been set and Request wasn't upgraded by any other mea"...
function_definition (+348 nodes collapsed)
function_definition (+499 nodes collapsed)
function_definition (+133 nodes collapsed)
function_definition (+121 nodes collapsed)
function_definition (+109 nodes collapsed)
comment "// We need to have an implementation of this function just s"...
comment "// all references to mCallOnResume of type HttpChannelChild:"...
comment "// to set a member function ptr to a base class function."
function_definition (+37 nodes collapsed)
function_definition (+138 nodes collapsed)
function_definition (+174 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+137 nodes collapsed)
function_definition (+21 nodes collapsed)
function_definition (+98 nodes collapsed)
function_definition (+201 nodes collapsed)
function_definition (+241 nodes collapsed)
function_definition (+75 nodes collapsed)
function_definition (+1074 nodes collapsed)
function_definition (+270 nodes collapsed)
function_definition (+301 nodes collapsed)
function_definition (+517 nodes collapsed)
function_definition (+284 nodes collapsed)
function_definition (+219 nodes collapsed)
function_definition (+138 nodes collapsed)
function_definition (+155 nodes collapsed)
function_definition (+237 nodes collapsed)
comment "// Completes the redirect and cleans up the old channel."
function_definition (+138 nodes collapsed)
function_definition (+105 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIChildChannel"
comment "//----------------------------------------------------------"...
function_definition (+576 nodes collapsed)
function_definition (+271 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIAsyncVerifyRedirectCallback"
comment "//----------------------------------------------------------"...
function_definition (+562 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIRequest"
comment "//----------------------------------------------------------"...
function_definition (+29 nodes collapsed)
function_definition (+27 nodes collapsed)
function_definition (+35 nodes collapsed)
function_definition (+326 nodes collapsed)
function_definition (+119 nodes collapsed)
function_definition (+282 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIChannel"
comment "//----------------------------------------------------------"...
function_definition (+52 nodes collapsed)
function_definition (+337 nodes collapsed)
function_definition (+645 nodes collapsed)
comment "// Assigns an nsISerialEventTarget to our IPDL actor so that"...
comment "// sent to the correct DocGroup/TabGroup."
function_definition (+33 nodes collapsed)
function_definition (+80 nodes collapsed)
function_definition (+100 nodes collapsed)
function_definition (+1618 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIHttpChannel"
comment "//----------------------------------------------------------"...
function_definition (+184 nodes collapsed)
function_definition (+159 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition
type_identifier "NS_IMETHODIMP"
function_declarator
qualified_identifier
namespace_identifier "HttpChannelChild"
:: "::"
identifier "UpgradeToSecure"
parameter_list
( "("
) ")"
compound_statement
{ "{"
comment "// disabled until/unless addons run in child or something el"...
return_statement
return "return"
identifier "NS_ERROR_NOT_IMPLEMENTED"
; ";"
} "}"
function_definition (+28 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIHttpChannelInternal"
comment "//----------------------------------------------------------"...
function_definition (+25 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsICacheInfoChannel"
comment "//----------------------------------------------------------"...
function_definition (+70 nodes collapsed)
function_definition (+62 nodes collapsed)
function_definition (+46 nodes collapsed)
function_definition (+30 nodes collapsed)
function_definition (+45 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+73 nodes collapsed)
function_definition (+27 nodes collapsed)
function_definition (+48 nodes collapsed)
expression_statement
call_expression
identifier "NS_IMPL_ADDREF"
argument_list
( "("
identifier "CacheEntryWriteHandleChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_RELEASE"
argument_list
( "("
identifier "CacheEntryWriteHandleChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_BEGIN"
argument_list
( "("
identifier "CacheEntryWriteHandleChild"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsISupports"
) ")"
; ""
ERROR
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsICacheEntryWriteHandle"
) ")"
identifier "NS_INTERFACE_MAP_END"
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "CacheEntryWriteHandleChild"
:: "::"
identifier "AddIPDLReference"
parameter_list
( "("
) ")"
compound_statement
{ "{"
expression_statement
call_expression
identifier "AddRef"
argument_list
( "("
) ")"
; ";"
} "}"
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "CacheEntryWriteHandleChild"
:: "::"
identifier "ReleaseIPDLReference"
parameter_list
( "("
) ")"
compound_statement
{ "{"
expression_statement
call_expression
identifier "Release"
argument_list
( "("
) ")"
; ";"
} "}"
function_definition
type_identifier "NS_IMETHODIMP"
function_declarator (+27 nodes collapsed)
compound_statement
{ "{"
expression_statement
call_expression
identifier "MOZ_ASSERT"
argument_list
( "("
call_expression
identifier "NS_IsMainThread"
argument_list
( "("
) ")"
, ","
string_literal
" "\""
string_content "Main thread only"
" "\""
) ")"
; ";"
if_statement
if "if"
condition_clause
( "("
unary_expression
! "!"
call_expression
identifier "CanSend"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "NS_ERROR_NOT_AVAILABLE"
; ";"
} "}"
if_statement (+40 nodes collapsed)
declaration
template_type
type_identifier "RefPtr"
template_argument_list
< "<"
type_descriptor
type_identifier "AltDataOutputStreamChild"
> ">"
init_declarator
identifier "stream"
= "="
new_expression
new "new"
type_identifier "AltDataOutputStreamChild"
argument_list
( "("
) ")"
; ";"
if_statement (+50 nodes collapsed)
expression_statement
call_expression
field_expression
identifier "stream"
-> "->"
field_identifier "AddIPDLReference"
argument_list
( "("
) ")"
; ";"
expression_statement
call_expression
field_expression
identifier "stream"
. "."
field_identifier "forget"
argument_list
( "("
identifier "_retval"
) ")"
; ";"
return_statement
return "return"
identifier "NS_OK"
; ";"
} "}"
function_definition
type_identifier "NS_IMETHODIMP"
function_declarator
qualified_identifier
namespace_identifier "HttpChannelChild"
:: "::"
identifier "GetCacheEntryWriteHandle"
parameter_list
( "("
parameter_declaration
type_identifier "nsICacheEntryWriteHandle"
pointer_declarator
* "*"
pointer_declarator
* "*"
identifier "_retval"
) ")"
compound_statement
{ "{"
expression_statement
call_expression
identifier "MOZ_ASSERT"
argument_list
( "("
call_expression
identifier "NS_IsMainThread"
argument_list
( "("
) ")"
, ","
string_literal
" "\""
string_content "Main thread only"
" "\""
) ")"
; ";"
if_statement
if "if"
condition_clause
( "("
unary_expression
! "!"
call_expression
identifier "CanSend"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "NS_ERROR_NOT_AVAILABLE"
; ";"
} "}"
if_statement (+40 nodes collapsed)
declaration
template_type
type_identifier "nsCOMPtr"
template_argument_list
< "<"
type_descriptor
type_identifier "nsISerialEventTarget"
> ">"
init_declarator
identifier "neckoTarget"
= "="
call_expression
identifier "GetNeckoTarget"
argument_list
( "("
) ")"
; ";"
expression_statement
call_expression
identifier "MOZ_ASSERT"
argument_list
( "("
identifier "neckoTarget"
) ")"
; ";"
declaration
template_type
type_identifier "RefPtr"
template_argument_list
< "<"
type_descriptor
type_identifier "CacheEntryWriteHandleChild"
> ">"
init_declarator
identifier "handle"
= "="
new_expression
new "new"
type_identifier "CacheEntryWriteHandleChild"
argument_list
( "("
) ")"
; ";"
if_statement (+30 nodes collapsed)
expression_statement
call_expression
field_expression
identifier "handle"
-> "->"
field_identifier "AddIPDLReference"
argument_list
( "("
) ")"
; ";"
expression_statement
call_expression
field_expression
identifier "handle"
. "."
field_identifier "forget"
argument_list
( "("
identifier "_retval"
) ")"
; ";"
return_statement
return "return"
identifier "NS_OK"
; ";"
} "}"
function_definition (+226 nodes collapsed)
function_definition (+76 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+99 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIResumableChannel"
comment "//----------------------------------------------------------"...
function_definition (+71 nodes collapsed)
comment "// GetEntityID is shared in HttpBaseChannel"
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsISupportsPriority"
comment "//----------------------------------------------------------"...
function_definition (+102 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIClassOfService"
comment "//----------------------------------------------------------"...
function_definition (+112 nodes collapsed)
function_definition (+99 nodes collapsed)
function_definition (+91 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+89 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIProxiedChannel"
comment "//----------------------------------------------------------"...
function_definition (+27 nodes collapsed)
function_definition (+25 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIHttpChannelChild"
comment "//----------------------------------------------------------"...
function_definition (+27 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+87 nodes collapsed)
function_definition (+134 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIMuliPartChannel"
comment "//----------------------------------------------------------"...
function_definition (+76 nodes collapsed)
function_definition (+60 nodes collapsed)
function_definition (+45 nodes collapsed)
function_definition (+45 nodes collapsed)
comment "//----------------------------------------------------------"...
comment "// HttpChannelChild::nsIThreadRetargetableRequest"
comment "//----------------------------------------------------------"...
function_definition (+308 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+79 nodes collapsed)
function_definition (+102 nodes collapsed)
function_definition (+147 nodes collapsed)
function_definition (+108 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+40 nodes collapsed)
comment "// We don't have a copyable Endpoint and NeckoTargetChannelF"...
comment "// std::function<void()>. It's not possible to avoid the co"...
comment "// lambda to std::function, so does the capture list. Hence,"...
comment "// use the old-fashioned channel event inheritance."
class_specifier (+193 nodes collapsed)
; ";"
function_definition (+50 nodes collapsed)
function_definition (+90 nodes collapsed)
function_definition (+83 nodes collapsed)
function_definition (+97 nodes collapsed)
function_definition (+103 nodes collapsed)
function_definition (+67 nodes collapsed)
function_definition (+113 nodes collapsed)
function_definition (+77 nodes collapsed)
function_definition (+156 nodes collapsed)
function_definition (+154 nodes collapsed)
function_definition (+64 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition (+292 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+48 nodes collapsed)
function_definition (+48 nodes collapsed)
} "}"