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

Side by Side Diff: content/renderer/service_worker/embedded_worker_dispatcher.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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/renderer/service_worker/embedded_worker_dispatcher.h" 5 #include "content/renderer/service_worker/embedded_worker_dispatcher.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/memory/ptr_util.h"
10 #include "base/metrics/histogram_macros.h" 11 #include "base/metrics/histogram_macros.h"
11 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "content/child/child_process.h" 14 #include "content/child/child_process.h"
14 #include "content/child/thread_safe_sender.h" 15 #include "content/child/thread_safe_sender.h"
15 #include "content/child/worker_thread_registry.h" 16 #include "content/child/worker_thread_registry.h"
16 #include "content/common/devtools_messages.h" 17 #include "content/common/devtools_messages.h"
17 #include "content/common/service_worker/embedded_worker_messages.h" 18 #include "content/common/service_worker/embedded_worker_messages.h"
18 #include "content/public/common/content_client.h" 19 #include "content/public/common/content_client.h"
19 #include "content/renderer/render_thread_impl.h" 20 #include "content/renderer/render_thread_impl.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 void EmbeddedWorkerDispatcher::RecordStopWorkerTimer(int embedded_worker_id) { 175 void EmbeddedWorkerDispatcher::RecordStopWorkerTimer(int embedded_worker_id) {
175 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id); 176 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id);
176 DCHECK(wrapper); 177 DCHECK(wrapper);
177 // This should eventually call WorkerContextDestroyed. (We may need to post 178 // This should eventually call WorkerContextDestroyed. (We may need to post
178 // a delayed task to forcibly abort the worker context if we find it 179 // a delayed task to forcibly abort the worker context if we find it
179 // necessary) 180 // necessary)
180 stop_worker_times_[embedded_worker_id] = base::TimeTicks::Now(); 181 stop_worker_times_[embedded_worker_id] = base::TimeTicks::Now();
181 } 182 }
182 183
183 } // namespace content 184 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698