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

Side by Side Diff: content/browser/device_orientation/provider_impl.cc

Issue 19532003: Use a direct include of the message_loop header in content/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/device_orientation/provider_impl.h" 5 #include "content/browser/device_orientation/provider_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "base/threading/worker_pool.h" 14 #include "base/threading/worker_pool.h"
15 15
16 namespace { 16 namespace {
17 17
18 void DeleteThread(base::Thread* thread) { 18 void DeleteThread(base::Thread* thread) {
19 delete thread; 19 delete thread;
20 } 20 }
21 21
22 } 22 }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 observers_.erase(current); 283 observers_.erase(current);
284 } 284 }
285 285
286 if (observers_.empty()) 286 if (observers_.empty())
287 Stop(); 287 Stop();
288 } 288 }
289 } 289 }
290 290
291 291
292 } // namespace content 292 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/device_monitor_linux.h ('k') | content/browser/device_orientation/provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698