blob: a9229a97b2c499ecda205bd41b54b491a2c88055 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
#define CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
#include "content/browser/loader/loader_delegate.h"
#include "content/common/content_export.h"
namespace content {
class CONTENT_EXPORT LoaderDelegateImpl : public LoaderDelegate {
public:
~LoaderDelegateImpl() override;
// LoaderDelegate implementation:
void LoadStateChanged(
WebContents* web_contents,
const GURL& url,
const net::LoadStateWithParam& load_state,
uint64_t upload_position,
uint64_t upload_size) override;
void DidGetResourceResponseStart(
const ResourceRequestInfo::WebContentsGetter& web_contents_getter,
std::unique_ptr<ResourceRequestDetails> details) override;
void DidGetRedirectForResourceRequest(
const ResourceRequestInfo::WebContentsGetter& web_contents_getter,
std::unique_ptr<ResourceRedirectDetails> details) override;
void LogResourceRequestTime(base::TimeTicks timestamp,
int render_process_id,
int render_frame_id,
const GURL& url) override;
};
} // namespace content
#endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
|