| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 _CRASH_USER_COLLECTOR_H_ | 5 #ifndef _CRASH_USER_COLLECTOR_H_ |
| 6 #define _CRASH_USER_COLLECTOR_H_ | 6 #define _CRASH_USER_COLLECTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "crash/system_logging.h" | 10 #include "crash-reporter/system_logging.h" |
| 11 | 11 |
| 12 class FilePath; | 12 class FilePath; |
| 13 | 13 |
| 14 // User crash collector. | 14 // User crash collector. |
| 15 class UserCollector { | 15 class UserCollector { |
| 16 public: | 16 public: |
| 17 typedef void (*CountCrashFunction)(); | 17 typedef void (*CountCrashFunction)(); |
| 18 typedef bool (*IsFeedbackAllowedFunction)(); | 18 typedef bool (*IsFeedbackAllowedFunction)(); |
| 19 | 19 |
| 20 UserCollector(); | 20 UserCollector(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 std::string core_pattern_file_; | 54 std::string core_pattern_file_; |
| 55 CountCrashFunction count_crash_function_; | 55 CountCrashFunction count_crash_function_; |
| 56 std::string our_path_; | 56 std::string our_path_; |
| 57 bool initialized_; | 57 bool initialized_; |
| 58 IsFeedbackAllowedFunction is_feedback_allowed_function_; | 58 IsFeedbackAllowedFunction is_feedback_allowed_function_; |
| 59 SystemLogging *logger_; | 59 SystemLogging *logger_; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // _CRASH_USER_COLLECTOR_H_ | 62 #endif // _CRASH_USER_COLLECTOR_H_ |
| OLD | NEW |