scottmg | 5cbd1cf | 2016-06-29 02:34:52 | [diff] [blame] | 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 | |
Charles Harrison | 911fa06 | 2018-03-06 21:01:46 | [diff] [blame] | 8 | #include <string> |
| 9 | |
scottmg | 5cbd1cf | 2016-06-29 02:34:52 | [diff] [blame] | 10 | #include "content/browser/loader/loader_delegate.h" |
scottmg | e22a5e5 | 2016-06-30 00:36:51 | [diff] [blame] | 11 | #include "content/common/content_export.h" |
scottmg | 5cbd1cf | 2016-06-29 02:34:52 | [diff] [blame] | 12 | |
| 13 | namespace content { |
| 14 | |
scottmg | e22a5e5 | 2016-06-30 00:36:51 | [diff] [blame] | 15 | class CONTENT_EXPORT LoaderDelegateImpl : public LoaderDelegate { |
scottmg | 5cbd1cf | 2016-06-29 02:34:52 | [diff] [blame] | 16 | public: |
| 17 | ~LoaderDelegateImpl() override; |
| 18 | |
scottmg | e22a5e5 | 2016-06-30 00:36:51 | [diff] [blame] | 19 | // LoaderDelegate implementation: |
Charles Harrison | 911fa06 | 2018-03-06 21:01:46 | [diff] [blame] | 20 | void LoadStateChanged(WebContents* web_contents, |
| 21 | const std::string& host, |
| 22 | const net::LoadStateWithParam& load_state, |
| 23 | uint64_t upload_position, |
| 24 | uint64_t upload_size) override; |
scottmg | 5cbd1cf | 2016-06-29 02:34:52 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | } // namespace content |
| 28 | |
| 29 | #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ |