| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FEEDBACK_FEEDBACK_COMMON_H_ | 5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_COMMON_H_ |
| 6 #define COMPONENTS_FEEDBACK_FEEDBACK_COMMON_H_ | 6 #define COMPONENTS_FEEDBACK_FEEDBACK_COMMON_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <map> | 11 #include <map> |
| 9 #include <string> | 12 #include <string> |
| 10 | 13 |
| 11 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
| 12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
| 15 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
| 16 | 19 |
| 17 namespace userfeedback { | 20 namespace userfeedback { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 115 |
| 113 // It is possible that multiple attachment add calls are running in | 116 // It is possible that multiple attachment add calls are running in |
| 114 // parallel, so synchronize access. | 117 // parallel, so synchronize access. |
| 115 base::Lock attachments_lock_; | 118 base::Lock attachments_lock_; |
| 116 ScopedVector<AttachedFile> attachments_; | 119 ScopedVector<AttachedFile> attachments_; |
| 117 | 120 |
| 118 scoped_ptr<SystemLogsMap> logs_; | 121 scoped_ptr<SystemLogsMap> logs_; |
| 119 }; | 122 }; |
| 120 | 123 |
| 121 #endif // COMPONENTS_FEEDBACK_FEEDBACK_COMMON_H_ | 124 #endif // COMPONENTS_FEEDBACK_FEEDBACK_COMMON_H_ |
| OLD | NEW |