OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_APPCACHE_APPCACHE_GROUP_H_ | 5 #ifndef WEBKIT_APPCACHE_APPCACHE_GROUP_H_ |
6 #define WEBKIT_APPCACHE_APPCACHE_GROUP_H_ | 6 #define WEBKIT_APPCACHE_APPCACHE_GROUP_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/task.h" | 15 #include "base/task.h" |
| 16 #include "base/time.h" |
16 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
17 | 18 |
18 namespace appcache { | 19 namespace appcache { |
19 | 20 |
20 class AppCache; | 21 class AppCache; |
21 class AppCacheHost; | 22 class AppCacheHost; |
22 class AppCacheService; | 23 class AppCacheService; |
23 class AppCacheUpdateJob; | 24 class AppCacheUpdateJob; |
24 class HostObserver; | 25 class HostObserver; |
25 | 26 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, QueueUpdate); | 156 FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, QueueUpdate); |
156 FRIEND_TEST_ALL_PREFIXES(AppCacheUpdateJobTest, AlreadyChecking); | 157 FRIEND_TEST_ALL_PREFIXES(AppCacheUpdateJobTest, AlreadyChecking); |
157 FRIEND_TEST_ALL_PREFIXES(AppCacheUpdateJobTest, AlreadyDownloading); | 158 FRIEND_TEST_ALL_PREFIXES(AppCacheUpdateJobTest, AlreadyDownloading); |
158 | 159 |
159 DISALLOW_COPY_AND_ASSIGN(AppCacheGroup); | 160 DISALLOW_COPY_AND_ASSIGN(AppCacheGroup); |
160 }; | 161 }; |
161 | 162 |
162 } // namespace appcache | 163 } // namespace appcache |
163 | 164 |
164 #endif // WEBKIT_APPCACHE_APPCACHE_GROUP_H_ | 165 #endif // WEBKIT_APPCACHE_APPCACHE_GROUP_H_ |
OLD | NEW |