| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/command_line.h" | |
| 6 #include "base/synchronization/waitable_event.h" | 5 #include "base/synchronization/waitable_event.h" |
| 7 #include "base/threading/platform_thread.h" | 6 #include "base/threading/platform_thread.h" |
| 8 #include "content/browser/device_sensors/data_fetcher_shared_memory.h" | 7 #include "content/browser/device_sensors/data_fetcher_shared_memory.h" |
| 9 #include "content/browser/device_sensors/device_inertial_sensor_service.h" | 8 #include "content/browser/device_sensors/device_inertial_sensor_service.h" |
| 10 #include "content/common/device_sensors/device_motion_hardware_buffer.h" | 9 #include "content/common/device_sensors/device_motion_hardware_buffer.h" |
| 11 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" | 10 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" |
| 12 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
| 14 #include "content/public/common/content_switches.h" | |
| 15 #include "content/public/test/content_browser_test.h" | 13 #include "content/public/test/content_browser_test.h" |
| 16 #include "content/public/test/content_browser_test_utils.h" | 14 #include "content/public/test/content_browser_test_utils.h" |
| 17 #include "content/public/test/test_navigation_observer.h" | 15 #include "content/public/test/test_navigation_observer.h" |
| 18 #include "content/public/test/test_utils.h" | 16 #include "content/public/test/test_utils.h" |
| 19 #include "content/shell/browser/shell.h" | 17 #include "content/shell/browser/shell.h" |
| 20 #include "content/shell/browser/shell_javascript_dialog_manager.h" | 18 #include "content/shell/browser/shell_javascript_dialog_manager.h" |
| 21 | 19 |
| 22 namespace content { | 20 namespace content { |
| 23 | 21 |
| 24 namespace { | 22 namespace { |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 278 |
| 281 fetcher_->started_motion_.Wait(); | 279 fetcher_->started_motion_.Wait(); |
| 282 fetcher_->stopped_motion_.Wait(); | 280 fetcher_->stopped_motion_.Wait(); |
| 283 same_tab_observer.Wait(); | 281 same_tab_observer.Wait(); |
| 284 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref()); | 282 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref()); |
| 285 } | 283 } |
| 286 | 284 |
| 287 } // namespace | 285 } // namespace |
| 288 | 286 |
| 289 } // namespace content | 287 } // namespace content |
| OLD | NEW |