Skip to content

Commit d73fbd3

Browse files
Merge pull request #220 from apasel422/naming
Remove stray "Private" prefixes on IDL names
2 parents 25716ee + 93e1384 commit d73fbd3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

api.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ and impressions are not scoped to a single aggregation service.
507507
</div>
508508

509509
<xmp class=idl>
510-
enum PrivateAttributionAggregationProtocol { "dap-15-histogram", "tee-00" };
510+
enum AttributionAggregationProtocol { "dap-15-histogram", "tee-00" };
511511

512512
dictionary AttributionAggregationService {
513513
required DOMString protocol;
@@ -531,7 +531,7 @@ that service:
531531
<dl dfn-for=AttributionAggregationService dfn-type=dict-member>
532532
<dt><dfn>protocol</dfn></dt>
533533
<dd>
534-
The {{PrivateAttributionAggregationProtocol|protocol}} that the [=aggregation service=] uses.
534+
The {{AttributionAggregationProtocol|protocol}} that the [=aggregation service=] uses.
535535
Different versions of the same protocol use different values.
536536
Even if a single service provider supports multiple protocols,
537537
each needs to use a different URL.
@@ -543,10 +543,10 @@ that service:
543543
The URL is passed as the {{AttributionConversionOptions/aggregationService}} parameter
544544
to <a method for=Attribution>measureConversion()</a> to select the identified aggregation service.
545545

546-
The <dfn enum>PrivateAttributionAggregationProtocol</dfn> describes the submission protocol
546+
The <dfn enum>AttributionAggregationProtocol</dfn> describes the submission protocol
547547
used by different [=aggregation services=]. This document defines two protocols:
548548

549-
<dl dfn-for=PrivateAttributionAggregationProtocol dfn-type=enum-value>
549+
<dl dfn-for=AttributionAggregationProtocol dfn-type=enum-value>
550550
<dt><dfn>dap-15-histogram</dfn></dt>
551551
<dd>A DAP-based protocol [[DAP]] that uses [=MPC=]; see [[#s-mpc]].</dd>
552552
<dt><dfn>tee-00</dfn></dt>
@@ -865,15 +865,15 @@ Each [=impression=] has a single [=impression/Histogram Index=] attribute
865865
that determines where the [=validated conversion options/Value|value=]
866866
allocated to that [=impression=] appears in [[#histograms|the resulting histgram]].
867867

868-
Each invocation of {{PrivateAttribution/measureConversion()}}
868+
Each invocation of {{Attribution/measureConversion()}}
869869
therefore needs to select [=impressions=] that have the same histogram definition.
870870
Though this applies to all uses of the API,
871871
consistent definition of histograms is especially important when [=impressions=]
872872
are [[#save-impression-api|saved]] and [[#measure-conversion-api|measured]]
873873
by multiple [=intermediaries=].
874874

875875
All [=impressions=] that might be [=common matching logic|selected=]
876-
when invoking {{PrivateAttribution/measureConversion()}}
876+
when invoking {{Attribution/measureConversion()}}
877877
need to use the same histogram definition.
878878
The API provides several tools
879879
for ensuring that only the right [=impressions=] are chosen.
@@ -884,11 +884,11 @@ For saved [=impressions=]:
884884
by histogram definition.
885885

886886
* Use of an [=impression=] for [=conversion=] can be restricted
887-
to be visible only to {{PrivateAttribution/measureConversion()}}
887+
to be visible only to {{Attribution/measureConversion()}}
888888
on a [=impression/Conversion Sites|set of conversion sites=].
889889

890890
* Use of an [=impression=] for [=conversion=] can be restricted
891-
to be visible only to {{PrivateAttribution/measureConversion()}}
891+
to be visible only to {{Attribution/measureConversion()}}
892892
invoked by a [=impression/Conversion Callers|set of sites=].
893893

894894
As part of [=common matching logic=] at the point of [=conversion=]:
@@ -907,10 +907,10 @@ These options provide sites with flexibility in how attribution selects histogra
907907
It does not preclude the use of different histograms by a [=conversion site=].
908908
Multiple [=impressions=] can be saved
909909
with different histogram definitions
910-
provided that {{PrivateAttribution/measureConversion()}} invocations
910+
provided that {{Attribution/measureConversion()}} invocations
911911
never [=common matching logic|select=] [=impressions=] with different histogram definitions.
912912
This ensures that [=conversions=] can be [=attribution|attributed=] to multiple histograms
913-
by invoking {{PrivateAttribution/measureConversion()}} multiple times.
913+
by invoking {{Attribution/measureConversion()}} multiple times.
914914

915915

916916
## Permissions Policy Integration ## {#permission-policy}
@@ -1450,12 +1450,12 @@ The <dfn method for=Attribution>measureConversion(|options|)</dfn> method steps
14501450
1. Let |aggregationService| be |validatedOptions|'s [=validated conversion options/aggregation service=].
14511451
1. Switch on the value of |aggregationService|.{{AttributionAggregationService/protocol}}:
14521452
<dl class="switch">
1453-
: <a enum-value for=PrivateAttributionAggregationProtocol>`dap-15-histogram`</a>
1453+
: <a enum-value for=AttributionAggregationProtocol>`dap-15-histogram`</a>
14541454
:: Perform the following steps:
14551455
1. Let |encryptedReport| be the result of invoking <a>construct a DAP report</a>,
14561456
given |validatedOptions|, |topLevelSite|, |now|, and |report|.
14571457

1458-
: <a enum-value for=PrivateAttributionAggregationProtocol>`tee-00`</a>
1458+
: <a enum-value for=AttributionAggregationProtocol>`tee-00`</a>
14591459
:: Perform the following steps:
14601460
1. TODO: see [#130](https://github.com/w3c/ppa/issues/130)
14611461
</dl>
@@ -1937,7 +1937,7 @@ by either MPC operator.
19371937

19381938
### Prio and DAP ### {#prio}
19391939

1940-
The <a enum-value for=PrivateAttributionAggregationProtocol>`dap-15-histogram`</a>
1940+
The <a enum-value for=AttributionAggregationProtocol>`dap-15-histogram`</a>
19411941
aggregation method uses Prio [[PRIO]]
19421942
and the Distributed Aggregation Protocol (DAP) [[DAP]].
19431943
Specifically, this aggregation method uses
@@ -2087,7 +2087,7 @@ and a [=list=] of [=integers=] |histogram|:
20872087
obtained for the [=aggregation service=]
20882088
indicated by |options|.[=validated conversion options/Aggregation Service=].
20892089

2090-
<p class=note>The URL for <a enum-value for=PrivateAttributionAggregationProtocol>"dap-15-histogram"</a> is expected to identify the DAP Leader role.
2090+
<p class=note>The URL for <a enum-value for=AttributionAggregationProtocol>"dap-15-histogram"</a> is expected to identify the DAP Leader role.
20912091
Implementations need to obtain HPKE configuration for both Aggregators statically.
20922092
The HPKE configuration <span class=allow-2119>must not</span> be fetched on demand, as the time that takes
20932093
will leak information to callers of <a method for=Attribution>measureConversion()</a>.

0 commit comments

Comments
 (0)