cc: Drop skip_shared_out_of_order_tiles field from TilingSetEvictionQueue.
[chromium-blink-merge.git] / chrome / browser / crash_upload_list_win.h
blobb565e1ee9799029e1e1637f7ead8c4b3a48038f9
1 // Copyright (c) 2011 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_WIN_H_
6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_WIN_H_
8 #include "chrome/browser/crash_upload_list.h"
9 #include "base/compiler_specific.h"
11 // A CrashUploadList that retrieves the list of reported crashes
12 // from the Windows Event Log.
13 class CrashUploadListWin : public CrashUploadList {
14 public:
15 CrashUploadListWin(Delegate* delegate, const base::FilePath& upload_log_path);
17 protected:
18 // Loads the list of crashes from the Windows Event Log.
19 void LoadUploadList() override;
21 private:
22 ~CrashUploadListWin() override;
24 // Returns whether the event record is likely a Chrome crash log.
25 bool IsPossibleCrashLogRecord(EVENTLOGRECORD* record) const;
27 // Parses the event record and adds it to the crash list.
28 void ProcessPossibleCrashLogRecord(EVENTLOGRECORD* record);
30 DISALLOW_COPY_AND_ASSIGN(CrashUploadListWin);
33 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_WIN_H_