summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/base/nsIBrowserUsage.idl
blob: 4c6a0901e3dfa51a21a4e6ce43465f77d88c1663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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/. */


#include "domstubs.idl"

[scriptable, uuid(2703b5ed-a41f-42be-8764-b795eb67ed25)]
interface nsIBrowserUsage : nsISupports
{
  /**
   * Returns the number of unique domains (eTLD+1) visited in the past
   * 24 hours by the user.
   */
  uint32_t getUniqueDomainsVisitedInPast24Hours();
};