OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UPLOAD_LIST_UPLOAD_LIST_H_ | 5 #ifndef COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ |
6 #define COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ | 6 #define COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
19 class SequencedWorkerPool; | 20 class SequencedWorkerPool; |
20 } | 21 } |
21 | 22 |
22 // Loads and parses an upload list text file of the format | 23 // Loads and parses an upload list text file of the format |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 Delegate* delegate_; | 113 Delegate* delegate_; |
113 const base::FilePath upload_log_path_; | 114 const base::FilePath upload_log_path_; |
114 | 115 |
115 base::ThreadChecker thread_checker_; | 116 base::ThreadChecker thread_checker_; |
116 scoped_refptr<base::SequencedWorkerPool> worker_pool_; | 117 scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(UploadList); | 119 DISALLOW_COPY_AND_ASSIGN(UploadList); |
119 }; | 120 }; |
120 | 121 |
121 #endif // COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ | 122 #endif // COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ |
OLD | NEW |