OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 "chrome/browser/profiles/profile_window.h" | 5 #include "chrome/browser/profiles/profile_window.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
14 #include "base/values.h" | 15 #include "base/values.h" |
15 #include "build/build_config.h" | 16 #include "build/build_config.h" |
16 #include "chrome/app/chrome_command_ids.h" | 17 #include "chrome/app/chrome_command_ids.h" |
17 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/chrome_notification_types.h" | 19 #include "chrome/browser/chrome_notification_types.h" |
19 #include "chrome/browser/history/history_service_factory.h" | 20 #include "chrome/browser/history/history_service_factory.h" |
20 #include "chrome/browser/profiles/profile_attributes_storage.h" | 21 #include "chrome/browser/profiles/profile_attributes_storage.h" |
21 #include "chrome/browser/profiles/profile_manager.h" | 22 #include "chrome/browser/profiles/profile_manager.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 &url_to_test, | 288 &url_to_test, |
288 run_loop.QuitClosure())); | 289 run_loop.QuitClosure())); |
289 run_loop.Run(); | 290 run_loop.Run(); |
290 | 291 |
291 ui_test_utils::NavigateToURL(browser(), GURL(url_to_test)); | 292 ui_test_utils::NavigateToURL(browser(), GURL(url_to_test)); |
292 EXPECT_TRUE(RunJavascriptTest("testPodFocused", | 293 EXPECT_TRUE(RunJavascriptTest("testPodFocused", |
293 base::Value(expected_path.AsUTF8Unsafe()))); | 294 base::Value(expected_path.AsUTF8Unsafe()))); |
294 } | 295 } |
295 | 296 |
296 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) | 297 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
OLD | NEW |