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_UPLOADER_H_ | 5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ |
6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ | 6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
17 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
18 | 17 |
19 namespace feedback { | 18 namespace feedback { |
20 | 19 |
21 typedef base::Callback<void(const std::string&)> ReportDataCallback; | 20 typedef base::Callback<void(const std::string&)> ReportDataCallback; |
22 | 21 |
23 class FeedbackReport; | 22 class FeedbackReport; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 base::TimeDelta retry_delay_; | 77 base::TimeDelta retry_delay_; |
79 std::string url_; | 78 std::string url_; |
80 base::SequencedWorkerPool* pool_; | 79 base::SequencedWorkerPool* pool_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader); | 81 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader); |
83 }; | 82 }; |
84 | 83 |
85 } // namespace feedback | 84 } // namespace feedback |
86 | 85 |
87 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ | 86 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ |
OLD | NEW |