OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ |
| 7 |
| 8 #include "content/browser/loader/loader_delegate.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class LoaderDelegateImpl : public LoaderDelegate { |
| 13 public: |
| 14 ~LoaderDelegateImpl() override; |
| 15 |
| 16 void LoadStateChanged(const GlobalRoutingID& routing_id, |
| 17 const GURL& url, |
| 18 const net::LoadStateWithParam& load_state, |
| 19 uint64_t upload_position, |
| 20 uint64_t upload_size) override; |
| 21 |
| 22 private: |
| 23 void NotifyLoadStateChangedOnUI(const GlobalRoutingID& routing_id, |
| 24 const GURL& url, |
| 25 const net::LoadStateWithParam& load_state, |
| 26 uint64_t upload_position, |
| 27 uint64_t upload_size); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ |
OLD | NEW |