OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ |
| 6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ |
| 7 |
| 8 #include "chrome/browser/crash_upload_list.h" |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" |
| 12 |
| 13 // A CrashUploadList that retrieves the list of uploaded reports from the |
| 14 // Crashpad database. |
| 15 class CrashUploadListMac : public CrashUploadList { |
| 16 public: |
| 17 // The |upload_log_path| argument is unused. It is only accepted because the |
| 18 // base class constructor requires it, although it is entirely unused with |
| 19 // LoadUploadList() being overridden. |
| 20 CrashUploadListMac(Delegate* delegate, const base::FilePath& upload_log_path); |
| 21 |
| 22 protected: |
| 23 ~CrashUploadListMac() override; |
| 24 |
| 25 // Called on a blocking pool thread. |
| 26 void LoadUploadList() override; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(CrashUploadListMac); |
| 29 }; |
| 30 |
| 31 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ |
OLD | NEW |