2017-04-07 09:15:16 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
* vim: sw=2 ts=8 et :
|
|
|
|
*/
|
|
|
|
/* 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 protocol PContent;
|
2019-01-04 16:45:42 +03:00
|
|
|
|
2017-04-07 09:15:16 +03:00
|
|
|
include PURLClassifierInfo;
|
|
|
|
|
2019-01-04 16:45:42 +03:00
|
|
|
using refcounted class nsIURI from "mozilla/ipc/URIUtils.h";
|
|
|
|
|
2017-04-07 09:15:16 +03:00
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2018-12-14 14:40:17 +03:00
|
|
|
struct URLClassifierLocalResult
|
|
|
|
{
|
2019-01-04 16:45:42 +03:00
|
|
|
nsIURI uri;
|
2018-12-14 14:40:17 +03:00
|
|
|
nsCString featureName;
|
|
|
|
nsCString matchingList;
|
|
|
|
};
|
|
|
|
|
2017-04-07 09:15:16 +03:00
|
|
|
protocol PURLClassifierLocal
|
|
|
|
{
|
|
|
|
manager PContent;
|
|
|
|
|
|
|
|
child:
|
2018-12-14 14:40:17 +03:00
|
|
|
async __delete__(URLClassifierLocalResult[] results);
|
2017-04-07 09:15:16 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|