Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Side by Side Diff: chrome/browser/extensions/api/sessions/sessions_apitest.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/strings/pattern.h" 13 #include "base/strings/pattern.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/browser/extensions/api/sessions/sessions_api.h" 16 #include "chrome/browser/extensions/api/sessions/sessions_api.h"
17 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 17 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
18 #include "chrome/browser/extensions/extension_apitest.h" 18 #include "chrome/browser/extensions/extension_apitest.h"
19 #include "chrome/browser/extensions/extension_function_test_utils.h" 19 #include "chrome/browser/extensions/extension_function_test_utils.h"
20 #include "chrome/browser/profiles/profile_manager.h" 20 #include "chrome/browser/profiles/profile_manager.h"
21 #include "chrome/browser/sync/chrome_sync_client.h" 21 #include "chrome/browser/sync/chrome_sync_client.h"
22 #include "chrome/browser/sync/profile_sync_service_factory.h" 22 #include "chrome/browser/sync/profile_sync_service_factory.h"
23 #include "chrome/browser/sync/profile_sync_test_util.h" 23 #include "chrome/browser/sync/profile_sync_test_util.h"
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/profile_sync_service.h"
29 #include "components/browser_sync/browser/profile_sync_service_mock.h" 29 #include "components/browser_sync/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/device_info/local_device_info_provider_mock.h" 34 #include "components/sync/device_info/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)
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 EXPECT_EQ(0u, sessions->GetSize()); 376 EXPECT_EQ(0u, sessions->GetSize());
377 } 377 }
378 378
379 // http://crbug.com/251199 379 // http://crbug.com/251199
380 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_SessionsApis) { 380 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_SessionsApis) {
381 ASSERT_TRUE(RunExtensionSubtest("sessions", 381 ASSERT_TRUE(RunExtensionSubtest("sessions",
382 "sessions.html")) << message_; 382 "sessions.html")) << message_;
383 } 383 }
384 384
385 } // namespace extensions 385 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698