OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "chrome/common/chrome_paths.h" | 24 #include "chrome/common/chrome_paths.h" |
25 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
26 #include "chrome/test/base/in_process_browser_test.h" | 26 #include "chrome/test/base/in_process_browser_test.h" |
27 #include "chrome/test/base/testing_browser_process.h" | 27 #include "chrome/test/base/testing_browser_process.h" |
28 #include "components/browser_sync/browser/profile_sync_service.h" | 28 #include "components/browser_sync/browser/profile_sync_service.h" |
29 #include "components/browser_sync/browser/profile_sync_service_mock.h" | 29 #include "components/browser_sync/browser/profile_sync_service_mock.h" |
30 #include "components/sync/api/attachments/attachment_id.h" | 30 #include "components/sync/api/attachments/attachment_id.h" |
31 #include "components/sync/api/fake_sync_change_processor.h" | 31 #include "components/sync/api/fake_sync_change_processor.h" |
32 #include "components/sync/api/sync_error_factory_mock.h" | 32 #include "components/sync/api/sync_error_factory_mock.h" |
33 #include "components/sync/core/attachments/attachment_service_proxy_for_test.h" | 33 #include "components/sync/core/attachments/attachment_service_proxy_for_test.h" |
34 #include "components/sync_driver/local_device_info_provider_mock.h" | 34 #include "components/sync/driver/local_device_info_provider_mock.h" |
35 #include "components/sync_driver/sync_api_component_factory_mock.h" | 35 #include "components/sync/driver/sync_api_component_factory_mock.h" |
36 #include "components/sync_sessions/sessions_sync_manager.h" | 36 #include "components/sync_sessions/sessions_sync_manager.h" |
37 #include "extensions/browser/api_test_utils.h" | 37 #include "extensions/browser/api_test_utils.h" |
38 | 38 |
39 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
40 #include "chromeos/chromeos_switches.h" | 40 #include "chromeos/chromeos_switches.h" |
41 #endif | 41 #endif |
42 | 42 |
43 namespace utils = extension_function_test_utils; | 43 namespace utils = extension_function_test_utils; |
44 | 44 |
45 namespace extensions { | 45 namespace extensions { |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 EXPECT_EQ(0u, sessions->GetSize()); | 377 EXPECT_EQ(0u, sessions->GetSize()); |
378 } | 378 } |
379 | 379 |
380 // http://crbug.com/251199 | 380 // http://crbug.com/251199 |
381 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_SessionsApis) { | 381 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_SessionsApis) { |
382 ASSERT_TRUE(RunExtensionSubtest("sessions", | 382 ASSERT_TRUE(RunExtensionSubtest("sessions", |
383 "sessions.html")) << message_; | 383 "sessions.html")) << message_; |
384 } | 384 } |
385 | 385 |
386 } // namespace extensions | 386 } // namespace extensions |
OLD | NEW |