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

Side by Side Diff: content/browser/service_worker/service_worker_version.cc

Issue 2678273011: Move service_worker_type_converters to content/renderer to avoid WebString() usage in browser (Closed)
Patch Set: move _type_converter security OWNERS entry to renderer/ too Created 3 years, 10 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/browser/background_sync/background_sync_manager.cc ('k') | content/common/BUILD.gn » ('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 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
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
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
OLDNEW
« no previous file with comments | « content/browser/background_sync/background_sync_manager.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698