1 // Copyright (c) 2012 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 CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
8 #include "chrome/browser/upload_list.h"
10 // An upload list manager for crash reports from breakpad.
11 class CrashUploadList
: public UploadList
{
13 // Static factory method that creates the platform-specific implementation
14 // of the crash upload list with the given callback delegate.
15 static CrashUploadList
* Create(Delegate
* delegate
);
17 // Should match kReporterLogFilename in
18 // breakpad/src/client/apple/Framework/BreakpadDefines.h.
19 static const char* kReporterLogFilename
;
21 // Creates a new crash upload list with the given callback delegate.
22 CrashUploadList(Delegate
* delegate
, const base::FilePath
& upload_log_path
);
25 virtual ~CrashUploadList();
28 DISALLOW_COPY_AND_ASSIGN(CrashUploadList
);
31 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_H_