mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
a814160005
Login reputation service is initialized during idle startup. --HG-- extra : rebase_source : 4f5b9fb730432c3fdb56f811128499628b76345c
37 lines
929 B
C++
37 lines
929 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef LoginReputation_h__
|
|
#define LoginReputation_h__
|
|
|
|
#include "ILoginReputation.h"
|
|
#include "mozilla/Logging.h"
|
|
|
|
class LoginReputationService final : public ILoginReputationService
|
|
{
|
|
public:
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_ILOGINREPUTATIONSERVICE
|
|
|
|
public:
|
|
static already_AddRefed<LoginReputationService> GetSingleton();
|
|
|
|
private:
|
|
/**
|
|
* Global singleton object for holding this factory service.
|
|
*/
|
|
static LoginReputationService* gLoginReputationService;
|
|
|
|
/**
|
|
* MOZ_LOG=LoginReputation:5
|
|
*/
|
|
static mozilla::LazyLogModule prlog;
|
|
|
|
LoginReputationService();
|
|
~LoginReputationService();
|
|
};
|
|
|
|
#endif // LoginReputation_h__
|