Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1783)

Side by Side Diff: webkit/appcache/appcache_request_handler.h

Issue 10829356: Make sure that AppCache tests subresource URLrequests against NETWORK whitelist (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TODO added Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 GURL found_namespace_entry_url_; 118 GURL found_namespace_entry_url_;
119 GURL found_manifest_url_; 119 GURL found_manifest_url_;
120 bool found_network_namespace_; 120 bool found_network_namespace_;
121 121
122 // True if a cache entry this handler attempted to return was 122 // True if a cache entry this handler attempted to return was
123 // not found in the disk cache. Once set, the handler will take 123 // not found in the disk cache. Once set, the handler will take
124 // no action on all subsequent intercept opportunities, so the 124 // no action on all subsequent intercept opportunities, so the
125 // request and any redirects will be handled by the network library. 125 // request and any redirects will be handled by the network library.
126 bool cache_entry_not_found_; 126 bool cache_entry_not_found_;
127 127
128 // True if this->MaybeLoadResource(...) has been called in the past.
129 bool maybe_load_resource_executed_;
130
128 // The job we use to deliver a response. 131 // The job we use to deliver a response.
129 scoped_refptr<AppCacheURLRequestJob> job_; 132 scoped_refptr<AppCacheURLRequestJob> job_;
130 133
131 friend class AppCacheRequestHandlerTest; 134 friend class AppCacheRequestHandlerTest;
132 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler); 135 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler);
133 }; 136 };
134 137
135 } // namespace appcache 138 } // namespace appcache
136 139
137 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ 140 #endif // WEBKIT_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698