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

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

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_H_ 5 #ifndef CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_H_ 6 #define CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
7 7
8 #include "chrome/browser/upload_list.h" 8 #include "chrome/browser/upload_list.h"
9 9
10 // An upload list manager for crash reports from breakpad. 10 // An upload list manager for crash reports from breakpad.
11 class CrashUploadList : public UploadList { 11 class CrashUploadList : public UploadList {
12 public: 12 public:
13 // Static factory method that creates the platform-specific implementation 13 // Static factory method that creates the platform-specific implementation
14 // of the crash upload list with the given callback delegate. 14 // of the crash upload list with the given callback delegate.
15 static CrashUploadList* Create(Delegate* delegate); 15 static CrashUploadList* Create(Delegate* delegate);
16 16
17 // Should match kReporterLogFilename in 17 // Should match kReporterLogFilename in
18 // breakpad/src/client/apple/Framework/BreakpadDefines.h. 18 // breakpad/src/client/apple/Framework/BreakpadDefines.h.
19 static const char* kReporterLogFilename; 19 static const char* kReporterLogFilename;
20 20
21 // Creates a new crash upload list with the given callback delegate. 21 // Creates a new crash upload list with the given callback delegate.
22 CrashUploadList(Delegate* delegate, const base::FilePath& upload_log_path); 22 CrashUploadList(Delegate* delegate, const base::FilePath& upload_log_path);
23 23
24 protected: 24 protected:
25 virtual ~CrashUploadList(); 25 ~CrashUploadList() override;
26 26
27 private: 27 private:
28 DISALLOW_COPY_AND_ASSIGN(CrashUploadList); 28 DISALLOW_COPY_AND_ASSIGN(CrashUploadList);
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_H_ 31 #endif // CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/crash_recovery_browsertest.cc ('k') | chrome/browser/custom_handlers/protocol_handler_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698