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

Side by Side Diff: components/crash/content/app/crashpad_mac.h

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 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 COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ 5 #ifndef COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_
6 #define COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ 6 #define COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_
7 7
8 #include <time.h> 8 #include <time.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 namespace crash_reporter { 13 namespace crash_reporter {
14 14
15 // Initializes Crashpad in a way that is appropriate for process_type. If 15 // Initializes Crashpad in a way that is appropriate for process_type. If
16 // process_type is empty, initializes Crashpad for the browser process, which 16 // process_type is empty, initializes Crashpad for the browser process, which
(...skipping 27 matching lines...) Expand all
44 // 44 //
45 // TODO(mark): The about:crashes UI expects to show only uploaded reports. If it 45 // TODO(mark): The about:crashes UI expects to show only uploaded reports. If it
46 // is ever enhanced to work well with un-uploaded reports, those should be 46 // is ever enhanced to work well with un-uploaded reports, those should be
47 // returned as well. Un-uploaded reports may have a pending upload, may have 47 // returned as well. Un-uploaded reports may have a pending upload, may have
48 // experienced upload failure, or may have been collected while uploads were 48 // experienced upload failure, or may have been collected while uploads were
49 // disabled. 49 // disabled.
50 void GetUploadedReports(std::vector<UploadedReport>* uploaded_reports); 50 void GetUploadedReports(std::vector<UploadedReport>* uploaded_reports);
51 51
52 } // namespace crash_reporter 52 } // namespace crash_reporter
53 53
54 #endif // COMPONENTS_CRASH_APP_CRASHPAD_MAC_H_ 54 #endif // COMPONENTS_CRASH_CONTENT_APP_CRASHPAD_MAC_H_
OLDNEW
« no previous file with comments | « components/crash/content/app/crash_reporter_client.cc ('k') | components/crash/content/app/crashpad_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698