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

Side by Side Diff: content/browser/loader/throttling_resource_handler.h

Issue 2271403002: Add CHECKs to investigate ResourceThrottle crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops Created 4 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
« no previous file with comments | « no previous file | content/browser/loader/throttling_resource_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) 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 CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 DeferredStage deferred_stage_; 64 DeferredStage deferred_stage_;
65 65
66 ScopedVector<ResourceThrottle> throttles_; 66 ScopedVector<ResourceThrottle> throttles_;
67 size_t next_index_; 67 size_t next_index_;
68 68
69 GURL deferred_url_; 69 GURL deferred_url_;
70 net::RedirectInfo deferred_redirect_; 70 net::RedirectInfo deferred_redirect_;
71 scoped_refptr<ResourceResponse> deferred_response_; 71 scoped_refptr<ResourceResponse> deferred_response_;
72 72
73 bool cancelled_by_resource_throttle_; 73 bool cancelled_by_resource_throttle_;
74
75 // True if currently calling into a throttle, false otherwise. False when
76 // waiting on a throttle that has delayed the request.
77 // TODO(mmenke): Remove once https://crbug.com/640545 is resolved.
78 bool currently_calling_throttle_;
74 }; 79 };
75 80
76 } // namespace content 81 } // namespace content
77 82
78 #endif // CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_ 83 #endif // CONTENT_BROWSER_LOADER_THROTTLING_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698