From 6c11fb357ec39bf087b8b632e2b1e375aef1b38b Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 16 May 2019 09:59:13 +0200 Subject: BASELINE: Update Chromium to 74.0.3729.159 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael BrĂ¼ning --- .../background_fetch_registration.h | 37 +++++++++++----------- 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h') diff --git a/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h b/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h index 4c8b41aa5a7..9ec869dfcee 100644 --- a/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h +++ b/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h @@ -39,10 +39,10 @@ class BackgroundFetchRegistration final BackgroundFetchRegistration( const String& developer_id, const String& unique_id, - unsigned long long upload_total, - unsigned long long uploaded, - unsigned long long download_total, - unsigned long long downloaded, + uint64_t upload_total, + uint64_t uploaded, + uint64_t download_total, + uint64_t downloaded, mojom::BackgroundFetchResult result, mojom::BackgroundFetchFailureReason failure_reason); @@ -85,17 +85,17 @@ class BackgroundFetchRegistration final const CacheQueryOptions* options, ExceptionState& exception_state); - unsigned long long uploadTotal() const; - unsigned long long uploaded() const; - unsigned long long downloadTotal() const; - unsigned long long downloaded() const; + uint64_t uploadTotal() const; + uint64_t uploaded() const; + uint64_t downloadTotal() const; + uint64_t downloaded() const; bool recordsAvailable() const; const String result() const; const String failureReason() const; const String& unique_id() const { return unique_id_; } - DEFINE_ATTRIBUTE_EVENT_LISTENER(progress, kProgress); + DEFINE_ATTRIBUTE_EVENT_LISTENER(progress, kProgress) ScriptPromise abort(ScriptState* script_state); @@ -113,11 +113,12 @@ class BackgroundFetchRegistration final private: void DidAbort(ScriptPromiseResolver* resolver, mojom::blink::BackgroundFetchError error); - ScriptPromise MatchImpl(ScriptState* script_state, - base::Optional request, - mojom::blink::QueryParamsPtr cache_query_params, - ExceptionState& exception_state, - bool match_all); + ScriptPromise MatchImpl( + ScriptState* script_state, + base::Optional request, + mojom::blink::CacheQueryOptionsPtr cache_query_options, + ExceptionState& exception_state, + bool match_all); void DidGetMatchingRequests( ScriptPromiseResolver* resolver, bool return_all, @@ -141,10 +142,10 @@ class BackgroundFetchRegistration final // exposed to JavaScript. String unique_id_; - unsigned long long upload_total_; - unsigned long long uploaded_; - unsigned long long download_total_; - unsigned long long downloaded_; + uint64_t upload_total_; + uint64_t uploaded_; + uint64_t download_total_; + uint64_t downloaded_; bool records_available_ = true; mojom::BackgroundFetchResult result_; mojom::BackgroundFetchFailureReason failure_reason_; -- cgit v1.2.1