1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_
6 #define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_
8 #include "base/memory/ref_counted.h"
9 #include "components/upload_list/crash_upload_list.h"
13 // Factory that creates the platform-specific implementation of the crash
14 // upload list with the given callback delegate.
15 scoped_refptr
<CrashUploadList
> CreateCrashUploadList(
16 UploadList::Delegate
* delegate
);
20 #endif // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_UPLOAD_LIST_H_