| OLD | NEW | 
|     1 // Copyright 2013 The Chromium Authors. All rights reserved. |     1 // Copyright 2013 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 #include "content/browser/service_worker/service_worker_version.h" |     5 #include "content/browser/service_worker/service_worker_version.h" | 
|     6  |     6  | 
|     7 #include <stddef.h> |     7 #include <stddef.h> | 
|     8  |     8  | 
|     9 #include <limits> |     9 #include <limits> | 
|    10 #include <map> |    10 #include <map> | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
|    34 #include "content/browser/service_worker/embedded_worker_status.h" |    34 #include "content/browser/service_worker/embedded_worker_status.h" | 
|    35 #include "content/browser/service_worker/service_worker_client_utils.h" |    35 #include "content/browser/service_worker/service_worker_client_utils.h" | 
|    36 #include "content/browser/service_worker/service_worker_context_core.h" |    36 #include "content/browser/service_worker/service_worker_context_core.h" | 
|    37 #include "content/browser/service_worker/service_worker_context_wrapper.h" |    37 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 
|    38 #include "content/browser/service_worker/service_worker_metrics.h" |    38 #include "content/browser/service_worker/service_worker_metrics.h" | 
|    39 #include "content/browser/service_worker/service_worker_registration.h" |    39 #include "content/browser/service_worker/service_worker_registration.h" | 
|    40 #include "content/common/origin_trials/trial_token_validator.h" |    40 #include "content/common/origin_trials/trial_token_validator.h" | 
|    41 #include "content/common/service_worker/embedded_worker_messages.h" |    41 #include "content/common/service_worker/embedded_worker_messages.h" | 
|    42 #include "content/common/service_worker/embedded_worker_start_params.h" |    42 #include "content/common/service_worker/embedded_worker_start_params.h" | 
|    43 #include "content/common/service_worker/service_worker_messages.h" |    43 #include "content/common/service_worker/service_worker_messages.h" | 
|    44 #include "content/common/service_worker/service_worker_type_converters.h" |  | 
|    45 #include "content/common/service_worker/service_worker_utils.h" |    44 #include "content/common/service_worker/service_worker_utils.h" | 
|    46 #include "content/public/browser/browser_thread.h" |    45 #include "content/public/browser/browser_thread.h" | 
|    47 #include "content/public/browser/content_browser_client.h" |    46 #include "content/public/browser/content_browser_client.h" | 
|    48 #include "content/public/browser/render_process_host.h" |    47 #include "content/public/browser/render_process_host.h" | 
|    49 #include "content/public/common/content_client.h" |    48 #include "content/public/common/content_client.h" | 
|    50 #include "content/public/common/content_features.h" |    49 #include "content/public/common/content_features.h" | 
|    51 #include "content/public/common/content_switches.h" |    50 #include "content/public/common/content_switches.h" | 
|    52 #include "content/public/common/result_codes.h" |    51 #include "content/public/common/result_codes.h" | 
|    53 #include "net/http/http_response_headers.h" |    52 #include "net/http/http_response_headers.h" | 
|    54 #include "net/http/http_response_info.h" |    53 #include "net/http/http_response_info.h" | 
| (...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1887  |  1886  | 
|  1888 void ServiceWorkerVersion::CleanUpExternalRequest( |  1887 void ServiceWorkerVersion::CleanUpExternalRequest( | 
|  1889     const std::string& request_uuid, |  1888     const std::string& request_uuid, | 
|  1890     ServiceWorkerStatusCode status) { |  1889     ServiceWorkerStatusCode status) { | 
|  1891   if (status == SERVICE_WORKER_OK) |  1890   if (status == SERVICE_WORKER_OK) | 
|  1892     return; |  1891     return; | 
|  1893   external_request_uuid_to_request_id_.erase(request_uuid); |  1892   external_request_uuid_to_request_id_.erase(request_uuid); | 
|  1894 } |  1893 } | 
|  1895  |  1894  | 
|  1896 }  // namespace content |  1895 }  // namespace content | 
| OLD | NEW |