Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: chrome/browser/crash_upload_list_crashpad.h

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add some stub gn files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/crash_upload_list.cc ('k') | chrome/browser/crash_upload_list_crashpad.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ 5 #ifndef CHROME_BROWSER_CRASH_UPLOAD_LIST_CRASHPAD_H_
6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ 6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_CRASHPAD_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/upload_list/crash_upload_list.h" 9 #include "components/upload_list/crash_upload_list.h"
10 10
11 namespace base { 11 namespace base {
12 class FilePath; 12 class FilePath;
13 class SequencedWorkerPool; 13 class SequencedWorkerPool;
14 } 14 }
15 15
16 // A CrashUploadList that retrieves the list of uploaded reports from the 16 // A CrashUploadList that retrieves the list of uploaded reports from the
17 // Crashpad database. 17 // Crashpad database.
18 class CrashUploadListMac : public CrashUploadList { 18 class CrashUploadListCrashpad : public CrashUploadList {
19 public: 19 public:
20 // The |upload_log_path| argument is unused. It is only accepted because the 20 // The |upload_log_path| argument is unused. It is only accepted because the
21 // base class constructor requires it, although it is entirely unused with 21 // base class constructor requires it, although it is entirely unused with
22 // LoadUploadList() being overridden. 22 // LoadUploadList() being overridden.
23 CrashUploadListMac( 23 CrashUploadListCrashpad(
24 Delegate* delegate, 24 Delegate* delegate,
25 const base::FilePath& upload_log_path, 25 const base::FilePath& upload_log_path,
26 const scoped_refptr<base::SequencedWorkerPool>& worker_pool); 26 const scoped_refptr<base::SequencedWorkerPool>& worker_pool);
27 27
28 protected: 28 protected:
29 ~CrashUploadListMac() override; 29 ~CrashUploadListCrashpad() override;
30 30
31 // Called on a blocking pool thread. 31 // Called on a blocking pool thread.
32 void LoadUploadList() override; 32 void LoadUploadList() override;
33 33
34 DISALLOW_COPY_AND_ASSIGN(CrashUploadListMac); 34 DISALLOW_COPY_AND_ASSIGN(CrashUploadListCrashpad);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_MAC_H_ 37 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_CRASHPAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/crash_upload_list.cc ('k') | chrome/browser/crash_upload_list_crashpad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698