Adding a router class to handle messages that expect responses.
[chromium-blink-merge.git] / chrome / browser / crash_upload_list.h
blobf0b201c9a2eb2a9704a079bf789dbd5b0db97042
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 {
12 public:
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);
24 protected:
25 virtual ~CrashUploadList();
27 private:
28 DISALLOW_COPY_AND_ASSIGN(CrashUploadList);
31 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_H_