1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef STORAGE_BROWSER_TEST_FAKE_PROGRESS_CLIENT_H_ 6 #define STORAGE_BROWSER_TEST_FAKE_PROGRESS_CLIENT_H_ 7 8 #include "third_party/blink/public/mojom/blob/blob_registry.mojom.h" 9 10 namespace storage { 11 12 class FakeProgressClient : public blink::mojom::ProgressClient { 13 public: 14 void OnProgress(uint64_t delta) override; 15 16 int call_count = 0; 17 uint64_t total_size = 0; 18 }; 19 20 } // namespace storage 21 22 #endif // STORAGE_BROWSER_TEST_FAKE_PROGRESS_CLIENT_H_ 23