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

Side by Side Diff: content/browser/service_worker/service_worker_controllee_request_handler.h

Issue 1274973002: Don't send the redirected request once the request was fallbacked to the network. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: place parentheses around the '&&' expression Created 5 years, 4 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
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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER _H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER _H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER _H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HANDLER _H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "content/browser/service_worker/service_worker_request_handler.h" 9 #include "content/browser/service_worker/service_worker_request_handler.h"
10 #include "content/common/service_worker/service_worker_types.h" 10 #include "content/common/service_worker/service_worker_types.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 scoped_refptr<ServiceWorkerURLRequestJob> job_; 72 scoped_refptr<ServiceWorkerURLRequestJob> job_;
73 FetchRequestMode request_mode_; 73 FetchRequestMode request_mode_;
74 FetchCredentialsMode credentials_mode_; 74 FetchCredentialsMode credentials_mode_;
75 RequestContextType request_context_type_; 75 RequestContextType request_context_type_;
76 RequestContextFrameType frame_type_; 76 RequestContextFrameType frame_type_;
77 scoped_refptr<ResourceRequestBody> body_; 77 scoped_refptr<ResourceRequestBody> body_;
78 ResourceContext* resource_context_; 78 ResourceContext* resource_context_;
79 GURL stripped_url_; 79 GURL stripped_url_;
80 base::TimeTicks worker_start_time_; 80 base::TimeTicks worker_start_time_;
81 base::TimeTicks worker_ready_time_; 81 base::TimeTicks worker_ready_time_;
82 bool skip_service_worker_;
82 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_; 83 base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler); 85 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler);
85 }; 86 };
86 87
87 } // namespace content 88 } // namespace content
88 89
89 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND LER_H_ 90 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTROLLEE_REQUEST_HAND LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698