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

Side by Side Diff: content/child/request_info.h

Issue 547213002: [ServiceWorker] Move skip_service_worker flag from RequestExtraData to RequestInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « content/child/request_extra_data.cc ('k') | content/child/request_info.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHILD_REQUEST_INFO_H_ 5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_
6 #define CONTENT_CHILD_REQUEST_INFO_H_ 6 #define CONTENT_CHILD_REQUEST_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Used to associated the bridge with a frame's network context. 68 // Used to associated the bridge with a frame's network context.
69 int routing_id; 69 int routing_id;
70 70
71 // If true, then the response body will be downloaded to a file and the 71 // If true, then the response body will be downloaded to a file and the
72 // path to that file will be provided in ResponseInfo::download_file_path. 72 // path to that file will be provided in ResponseInfo::download_file_path.
73 bool download_to_file; 73 bool download_to_file;
74 74
75 // True if the request was user initiated. 75 // True if the request was user initiated.
76 bool has_user_gesture; 76 bool has_user_gesture;
77 77
78 // True if the request should not be handled by the ServiceWorker.
79 bool skip_service_worker;
80
78 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. 81 // TODO(mmenke): Investigate if enable_load_timing is safe to remove.
79 // True if load timing data should be collected for the request. 82 // True if load timing data should be collected for the request.
80 bool enable_load_timing; 83 bool enable_load_timing;
81 84
82 // Extra data associated with this request. We do not own this pointer. 85 // Extra data associated with this request. We do not own this pointer.
83 blink::WebURLRequest::ExtraData* extra_data; 86 blink::WebURLRequest::ExtraData* extra_data;
84 87
85 private: 88 private:
86 DISALLOW_COPY_AND_ASSIGN(RequestInfo); 89 DISALLOW_COPY_AND_ASSIGN(RequestInfo);
87 }; 90 };
88 91
89 } // namespace content 92 } // namespace content
90 93
91 #endif // CONTENT_CHILD_REQUEST_INFO_H_ 94 #endif // CONTENT_CHILD_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698