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

Side by Side Diff: base/message_loop/incoming_task_queue.cc

Issue 1844693003: Remove unnecessary inclusion of base/metrics/histogram.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | 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 "base/message_loop/incoming_task_queue.h" 5 #include "base/message_loop/incoming_task_queue.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/metrics/histogram.h"
12 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 14
16 namespace base { 15 namespace base {
17 namespace internal { 16 namespace internal {
18 17
19 namespace { 18 namespace {
20 19
21 #ifndef NDEBUG 20 #ifndef NDEBUG
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // After we've scheduled the message loop, we do not need to do so again 173 // After we've scheduled the message loop, we do not need to do so again
175 // until we know it has processed all of the work in our queue and is 174 // until we know it has processed all of the work in our queue and is
176 // waiting for more work again. The message loop will always attempt to 175 // waiting for more work again. The message loop will always attempt to
177 // reload from the incoming queue before waiting again so we clear this flag 176 // reload from the incoming queue before waiting again so we clear this flag
178 // in ReloadWorkQueue(). 177 // in ReloadWorkQueue().
179 message_loop_scheduled_ = true; 178 message_loop_scheduled_ = true;
180 } 179 }
181 180
182 } // namespace internal 181 } // namespace internal
183 } // namespace base 182 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698