summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/crash_report/crash_upload_list.h
blob: 4f4ce42606e9210b4395a03b341973f899adbac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 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 IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_
#define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_

#include "base/memory/ref_counted.h"
#include "components/upload_list/crash_upload_list.h"

namespace ios {

// Factory that creates the platform-specific implementation of the crash
// upload list with the given callback delegate.
scoped_refptr<CrashUploadList> CreateCrashUploadList(
    UploadList::Delegate* delegate);

}  // namespace ios

#endif  // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_