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_SERVICE_H_ | 5 #ifndef WEBKIT_APPCACHE_APPCACHE_SERVICE_H_ |
6 #define WEBKIT_APPCACHE_APPCACHE_SERVICE_H_ | 6 #define WEBKIT_APPCACHE_APPCACHE_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
| 11 #include "base/gtest_prod_util.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/time.h" | 14 #include "base/time.h" |
14 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
15 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
16 #include "testing/gtest/include/gtest/gtest_prod.h" | |
17 #include "webkit/appcache/appcache_export.h" | 17 #include "webkit/appcache/appcache_export.h" |
18 #include "webkit/appcache/appcache_interfaces.h" | 18 #include "webkit/appcache/appcache_interfaces.h" |
19 #include "webkit/appcache/appcache_storage.h" | 19 #include "webkit/appcache/appcache_storage.h" |
20 | 20 |
21 class FilePath; | 21 class FilePath; |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 class URLRequestContext; | 24 class URLRequestContext; |
25 } // namespace net | 25 } // namespace net |
26 | 26 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 bool clear_local_state_on_exit_; | 180 bool clear_local_state_on_exit_; |
181 // If true, nothing (not even session-only data) should be deleted on exit. | 181 // If true, nothing (not even session-only data) should be deleted on exit. |
182 bool save_session_state_; | 182 bool save_session_state_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(AppCacheService); | 184 DISALLOW_COPY_AND_ASSIGN(AppCacheService); |
185 }; | 185 }; |
186 | 186 |
187 } // namespace appcache | 187 } // namespace appcache |
188 | 188 |
189 #endif // WEBKIT_APPCACHE_APPCACHE_SERVICE_H_ | 189 #endif // WEBKIT_APPCACHE_APPCACHE_SERVICE_H_ |
OLD | NEW |