gecko-dev/toolkit/components/reputationservice/LoginReputation.h
DimiL a814160005 Bug 1384753 - Add dummy login reputation service in reputationservice component. r=francois
Login reputation service is initialized during idle startup.

--HG--
extra : rebase_source : 4f5b9fb730432c3fdb56f811128499628b76345c
2017-10-26 11:27:17 +08:00

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__