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

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

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 28 matching lines...) Expand all
39 #include "content/common/service_worker/service_worker_type_converters.h" 39 #include "content/common/service_worker/service_worker_type_converters.h"
40 #include "content/common/service_worker/service_worker_utils.h" 40 #include "content/common/service_worker/service_worker_utils.h"
41 #include "content/public/browser/browser_thread.h" 41 #include "content/public/browser/browser_thread.h"
42 #include "content/public/browser/content_browser_client.h" 42 #include "content/public/browser/content_browser_client.h"
43 #include "content/public/browser/render_process_host.h" 43 #include "content/public/browser/render_process_host.h"
44 #include "content/public/common/content_client.h" 44 #include "content/public/common/content_client.h"
45 #include "content/public/common/content_switches.h" 45 #include "content/public/common/content_switches.h"
46 #include "content/public/common/result_codes.h" 46 #include "content/public/common/result_codes.h"
47 #include "content/public/common/service_registry.h" 47 #include "content/public/common/service_registry.h"
48 #include "mojo/common/common_type_converters.h" 48 #include "mojo/common/common_type_converters.h"
49 #include "mojo/common/url_type_converters.h"
50 #include "net/http/http_response_headers.h" 49 #include "net/http/http_response_headers.h"
51 #include "net/http/http_response_info.h" 50 #include "net/http/http_response_info.h"
52 51
53 namespace content { 52 namespace content {
54 53
55 using StatusCallback = ServiceWorkerVersion::StatusCallback; 54 using StatusCallback = ServiceWorkerVersion::StatusCallback;
56 55
57 namespace { 56 namespace {
58 57
59 // Time to wait until stopping an idle worker. 58 // Time to wait until stopping an idle worker.
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 if (should_exclude_from_uma_ || 1712 if (should_exclude_from_uma_ ||
1714 running_status() != EmbeddedWorkerStatus::RUNNING || 1713 running_status() != EmbeddedWorkerStatus::RUNNING ||
1715 idle_time_.is_null()) { 1714 idle_time_.is_null()) {
1716 return; 1715 return;
1717 } 1716 }
1718 ServiceWorkerMetrics::RecordTimeBetweenEvents(base::TimeTicks::Now() - 1717 ServiceWorkerMetrics::RecordTimeBetweenEvents(base::TimeTicks::Now() -
1719 idle_time_); 1718 idle_time_);
1720 } 1719 }
1721 1720
1722 } // namespace content 1721 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_mojo_shell.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698