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

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

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase Created 3 years, 11 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 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 30 matching lines...) Expand all
41 #include "content/common/service_worker/embedded_worker_start_params.h" 41 #include "content/common/service_worker/embedded_worker_start_params.h"
42 #include "content/common/service_worker/service_worker_messages.h" 42 #include "content/common/service_worker/service_worker_messages.h"
43 #include "content/common/service_worker/service_worker_type_converters.h" 43 #include "content/common/service_worker/service_worker_type_converters.h"
44 #include "content/common/service_worker/service_worker_utils.h" 44 #include "content/common/service_worker/service_worker_utils.h"
45 #include "content/public/browser/browser_thread.h" 45 #include "content/public/browser/browser_thread.h"
46 #include "content/public/browser/content_browser_client.h" 46 #include "content/public/browser/content_browser_client.h"
47 #include "content/public/browser/render_process_host.h" 47 #include "content/public/browser/render_process_host.h"
48 #include "content/public/common/content_client.h" 48 #include "content/public/common/content_client.h"
49 #include "content/public/common/content_switches.h" 49 #include "content/public/common/content_switches.h"
50 #include "content/public/common/result_codes.h" 50 #include "content/public/common/result_codes.h"
51 #include "mojo/common/common_type_converters.h"
52 #include "net/http/http_response_headers.h" 51 #include "net/http/http_response_headers.h"
53 #include "net/http/http_response_info.h" 52 #include "net/http/http_response_info.h"
54 53
55 namespace content { 54 namespace content {
56 55
57 using StatusCallback = ServiceWorkerVersion::StatusCallback; 56 using StatusCallback = ServiceWorkerVersion::StatusCallback;
58 57
59 namespace { 58 namespace {
60 59
61 // Time to wait until stopping an idle worker. 60 // Time to wait until stopping an idle worker.
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 1923
1925 void ServiceWorkerVersion::CleanUpExternalRequest( 1924 void ServiceWorkerVersion::CleanUpExternalRequest(
1926 const std::string& request_uuid, 1925 const std::string& request_uuid,
1927 ServiceWorkerStatusCode status) { 1926 ServiceWorkerStatusCode status) {
1928 if (status == SERVICE_WORKER_OK) 1927 if (status == SERVICE_WORKER_OK)
1929 return; 1928 return;
1930 external_request_uuid_to_request_id_.erase(request_uuid); 1929 external_request_uuid_to_request_id_.erase(request_uuid);
1931 } 1930 }
1932 1931
1933 } // namespace content 1932 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698