OLD | NEW |
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 <map> | 5 #include <map> |
6 #include <queue> | 6 #include <queue> |
7 | 7 |
8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "content/browser/device_orientation/data_fetcher.h" | 10 #include "content/browser/device_orientation/data_fetcher.h" |
11 #include "content/browser/device_orientation/device_data.h" | 11 #include "content/browser/device_orientation/device_data.h" |
12 #include "content/browser/device_orientation/motion.h" | 12 #include "content/browser/device_orientation/motion.h" |
13 #include "content/browser/device_orientation/orientation.h" | 13 #include "content/browser/device_orientation/orientation.h" |
14 #include "content/browser/device_orientation/provider.h" | 14 #include "content/browser/device_orientation/provider.h" |
15 #include "content/browser/device_orientation/provider_impl.h" | 15 #include "content/browser/device_orientation/provider_impl.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 base::MessageLoop::current()->Run(); | 706 base::MessageLoop::current()->Run(); |
707 | 707 |
708 provider_->RemoveObserver(checker_a.get()); | 708 provider_->RemoveObserver(checker_a.get()); |
709 provider_->RemoveObserver(checker_b.get()); | 709 provider_->RemoveObserver(checker_b.get()); |
710 MockDeviceDataFactory::SetCurInstance(NULL); | 710 MockDeviceDataFactory::SetCurInstance(NULL); |
711 } | 711 } |
712 | 712 |
713 } // namespace | 713 } // namespace |
714 | 714 |
715 } // namespace content | 715 } // namespace content |
OLD | NEW |