summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-16 09:59:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-20 10:28:53 +0000
commit6c11fb357ec39bf087b8b632e2b1e375aef1b38b (patch)
treec8315530db18a8ee566521c39ab8a6af4f72bc03 /chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h
parent3ffaed019d0772e59d6cdb2d0d32fe4834c31f72 (diff)
downloadqtwebengine-chromium-6c11fb357ec39bf087b8b632e2b1e375aef1b38b.tar.gz
BASELINE: Update Chromium to 74.0.3729.159
Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h')
-rw-r--r--chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.h37
1 files changed, 19 insertions, 18 deletions
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<RequestOrUSVString> request,
- mojom::blink::QueryParamsPtr cache_query_params,
- ExceptionState& exception_state,
- bool match_all);
+ ScriptPromise MatchImpl(
+ ScriptState* script_state,
+ base::Optional<RequestOrUSVString> 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_;