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