| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/http/http_response_info.h" | 14 #include "net/http/http_response_info.h" |
| 15 #include "webkit/common/appcache/appcache_interfaces.h" | 15 #include "webkit/common/appcache/appcache_interfaces.h" |
| 16 #include "webkit/storage/webkit_storage_export.h" |
| 16 | 17 |
| 17 namespace net { | 18 namespace net { |
| 18 class IOBuffer; | 19 class IOBuffer; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace appcache { | 22 namespace appcache { |
| 22 | 23 |
| 23 class AppCacheService; | 24 class AppCacheService; |
| 24 | 25 |
| 25 static const int kUnkownResponseDataSize = -1; | 26 static const int kUnkownResponseDataSize = -1; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 int write_position_; | 250 int write_position_; |
| 250 int write_amount_; | 251 int write_amount_; |
| 251 CreationPhase creation_phase_; | 252 CreationPhase creation_phase_; |
| 252 net::CompletionCallback create_callback_; | 253 net::CompletionCallback create_callback_; |
| 253 base::WeakPtrFactory<AppCacheResponseWriter> weak_factory_; | 254 base::WeakPtrFactory<AppCacheResponseWriter> weak_factory_; |
| 254 }; | 255 }; |
| 255 | 256 |
| 256 } // namespace appcache | 257 } // namespace appcache |
| 257 | 258 |
| 258 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ | 259 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_RESPONSE_H_ |
| 259 | |
| OLD | NEW |