Chromium Code Reviews| 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_REQUEST_HANDLER_H_ | 5 #ifndef WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ |
| 6 #define WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ | 6 #define WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
| 10 #include "webkit/appcache/appcache_entry.h" | 10 #include "webkit/appcache/appcache_entry.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 GURL found_namespace_entry_url_; | 111 GURL found_namespace_entry_url_; |
| 112 GURL found_manifest_url_; | 112 GURL found_manifest_url_; |
| 113 bool found_network_namespace_; | 113 bool found_network_namespace_; |
| 114 | 114 |
| 115 // True if a cache entry this handler attempted to return was | 115 // True if a cache entry this handler attempted to return was |
| 116 // not found in the disk cache. Once set, the handler will take | 116 // not found in the disk cache. Once set, the handler will take |
| 117 // no action on all subsequent intercept opportunities, so the | 117 // no action on all subsequent intercept opportunities, so the |
| 118 // request and any redirects will be handled by the network library. | 118 // request and any redirects will be handled by the network library. |
| 119 bool cache_entry_not_found_; | 119 bool cache_entry_not_found_; |
| 120 | 120 |
| 121 // True if this->MaybeLoadResource(...) has been called in the past. | |
| 122 bool maybe_load_resource_executed_; | |
|
michaeln
2012/08/25 01:33:42
ah... this is a much clearer name
| |
| 123 | |
| 121 // The job we use to deliver a response. | 124 // The job we use to deliver a response. |
| 122 scoped_refptr<AppCacheURLRequestJob> job_; | 125 scoped_refptr<AppCacheURLRequestJob> job_; |
| 123 | 126 |
| 124 friend class AppCacheRequestHandlerTest; | 127 friend class AppCacheRequestHandlerTest; |
| 125 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler); | 128 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler); |
| 126 }; | 129 }; |
| 127 | 130 |
| 128 } // namespace appcache | 131 } // namespace appcache |
| 129 | 132 |
| 130 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ | 133 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ |
| OLD | NEW |