blob: 96822e29d93cebdd779ddbb176f58b57eb45f797 [file] [log] [blame]
// Copyright (c) 2012 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_PUBLIC_BROWSER_LOGIN_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_LOGIN_DELEGATE_H_
#include "content/common/content_export.h"
namespace content {
// Interface for getting login credentials for HTTP auth requests. If the login
// delegate obtains credentials, it should call the LoginAuthRequiredCallback
// passed to it on creation. If it is destroyed before that point, the request
// has been canceled and the callback should not be called.
class CONTENT_EXPORT LoginDelegate {
public:
virtual ~LoginDelegate() {}
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_LOGIN_DELEGATE_H_