1// Copyright (c) 2012 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_PUBLIC_BROWSER_LOGIN_DELEGATE_H_
6#define CONTENT_PUBLIC_BROWSER_LOGIN_DELEGATE_H_
7
8#include "content/common/content_export.h"
9
10namespace content {
11
12// Interface for getting login credentials for HTTP auth requests. If the login
13// delegate obtains credentials, it should call the LoginAuthRequiredCallback
14// passed to it on creation. If it is destroyed before that point, the request
15// has been canceled and the callback should not be called.
16class CONTENT_EXPORT LoginDelegate {
17 public:
18 virtual ~LoginDelegate() {}
19};
20
21} // namespace content
22
23#endif // CONTENT_PUBLIC_BROWSER_LOGIN_DELEGATE_H_
24