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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/location.h" | 6 #include "base/location.h" |
| 7 #include "base/message_loop/message_loop.h" |
7 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
8 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
9 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "chrome/browser/extensions/api/tab_capture/tab_capture_api.h" | 14 #include "chrome/browser/extensions/api/tab_capture/tab_capture_api.h" |
14 #include "chrome/browser/extensions/extension_apitest.h" | 15 #include "chrome/browser/extensions/extension_apitest.h" |
15 #include "chrome/browser/extensions/tab_helper.h" | 16 #include "chrome/browser/extensions/tab_helper.h" |
16 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 EXPECT_EQ(TabAlertState::TAB_CAPTURING, observer.last_alert_state()); | 464 EXPECT_EQ(TabAlertState::TAB_CAPTURING, observer.last_alert_state()); |
464 return; | 465 return; |
465 } | 466 } |
466 content::RunMessageLoop(); | 467 content::RunMessageLoop(); |
467 } | 468 } |
468 } | 469 } |
469 | 470 |
470 } // namespace | 471 } // namespace |
471 | 472 |
472 } // namespace extensions | 473 } // namespace extensions |
OLD | NEW |