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

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

Issue 1419103009: [Sync] Componentize ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@max_bogue_sync_backend_host
Patch Set: Rebase Created 5 years, 1 month 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 "chrome/browser/extensions/api/sessions/sessions_api.h" 5 #include "chrome/browser/extensions/api/sessions/sessions_api.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/pattern.h" 9 #include "base/strings/pattern.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 11 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
12 #include "chrome/browser/extensions/extension_apitest.h" 12 #include "chrome/browser/extensions/extension_apitest.h"
13 #include "chrome/browser/extensions/extension_function_test_utils.h" 13 #include "chrome/browser/extensions/extension_function_test_utils.h"
14 #include "chrome/browser/profiles/profile_manager.h" 14 #include "chrome/browser/profiles/profile_manager.h"
15 #include "chrome/browser/sync/chrome_sync_client.h" 15 #include "chrome/browser/sync/chrome_sync_client.h"
16 #include "chrome/browser/sync/profile_sync_service.h"
17 #include "chrome/browser/sync/profile_sync_service_factory.h" 16 #include "chrome/browser/sync/profile_sync_service_factory.h"
18 #include "chrome/browser/sync/profile_sync_service_mock.h" 17 #include "chrome/browser/sync/profile_sync_service_mock.h"
19 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
20 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
21 #include "chrome/test/base/in_process_browser_test.h" 20 #include "chrome/test/base/in_process_browser_test.h"
22 #include "chrome/test/base/test_switches.h" 21 #include "chrome/test/base/test_switches.h"
23 #include "chrome/test/base/testing_browser_process.h" 22 #include "chrome/test/base/testing_browser_process.h"
23 #include "components/browser_sync/browser/profile_sync_service.h"
24 #include "components/sync_driver/local_device_info_provider_mock.h" 24 #include "components/sync_driver/local_device_info_provider_mock.h"
25 #include "components/sync_driver/sync_api_component_factory_mock.h" 25 #include "components/sync_driver/sync_api_component_factory_mock.h"
26 #include "extensions/browser/api_test_utils.h" 26 #include "extensions/browser/api_test_utils.h"
27 #include "sync/api/attachments/attachment_id.h" 27 #include "sync/api/attachments/attachment_id.h"
28 #include "sync/api/fake_sync_change_processor.h" 28 #include "sync/api/fake_sync_change_processor.h"
29 #include "sync/api/sync_error_factory_mock.h" 29 #include "sync/api/sync_error_factory_mock.h"
30 #include "sync/internal_api/public/attachments/attachment_service_proxy_for_test .h" 30 #include "sync/internal_api/public/attachments/attachment_service_proxy_for_test .h"
31 31
32 #if defined(OS_CHROMEOS) 32 #if defined(OS_CHROMEOS)
33 #include "chromeos/chromeos_switches.h" 33 #include "chromeos/chromeos_switches.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 return; 387 return;
388 #endif 388 #endif
389 389
390 ASSERT_TRUE(RunExtensionSubtest("sessions", 390 ASSERT_TRUE(RunExtensionSubtest("sessions",
391 "sessions.html")) << message_; 391 "sessions.html")) << message_;
392 } 392 }
393 393
394 } // namespace 394 } // namespace
395 395
396 } // namespace extensions 396 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698