summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/add_incident_callback.h
blob: 7b866c3d3e3e16a0c2c064e647cf1810034d4942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2014 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 CHROME_BROWSER_SAFE_BROWSING_ADD_INCIDENT_CALLBACK_H_
#define CHROME_BROWSER_SAFE_BROWSING_ADD_INCIDENT_CALLBACK_H_

#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"

namespace safe_browsing {

class ClientIncidentReport_IncidentData;

// A callback used by external components to add an incident to the incident
// reporting service.
typedef base::Callback<void(scoped_ptr<ClientIncidentReport_IncidentData>)>
    AddIncidentCallback;

}  // namespace safe_browsing

#endif  // CHROME_BROWSER_SAFE_BROWSING_ADD_INCIDENT_CALLBACK_H_