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

Side by Side Diff: chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/sync_sessions/sessions_sync_manager.h" 5 #include "components/sync_sessions/sessions_sync_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/sessions/session_tab_helper.h" 13 #include "chrome/browser/sessions/session_tab_helper.h"
14 #include "chrome/browser/sync/chrome_sync_client.h" 14 #include "chrome/browser/sync/chrome_sync_client.h"
15 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h" 15 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h"
16 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h" 16 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h"
17 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" 17 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
18 #include "chrome/browser/ui/tabs/tab_strip_model.h" 18 #include "chrome/browser/ui/tabs/tab_strip_model.h"
19 #include "chrome/test/base/browser_with_test_window_test.h" 19 #include "chrome/test/base/browser_with_test_window_test.h"
20 #include "components/sessions/content/content_serialized_navigation_builder.h" 20 #include "components/sessions/content/content_serialized_navigation_builder.h"
21 #include "components/sessions/core/serialized_navigation_entry_test_helper.h" 21 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
22 #include "components/sync/api/attachments/attachment_id.h"
23 #include "components/sync/api/attachments/attachment_service_proxy_for_test.h"
24 #include "components/sync/api/sync_error_factory_mock.h"
25 #include "components/sync/device_info/local_device_info_provider_mock.h" 22 #include "components/sync/device_info/local_device_info_provider_mock.h"
26 #include "components/sync/driver/sync_api_component_factory.h" 23 #include "components/sync/driver/sync_api_component_factory.h"
24 #include "components/sync/model/attachments/attachment_id.h"
25 #include "components/sync/model/attachments/attachment_service_proxy_for_test.h"
26 #include "components/sync/model/sync_error_factory_mock.h"
27 #include "components/sync_sessions/session_sync_test_helper.h" 27 #include "components/sync_sessions/session_sync_test_helper.h"
28 #include "components/sync_sessions/sync_sessions_client.h" 28 #include "components/sync_sessions/sync_sessions_client.h"
29 #include "components/sync_sessions/synced_tab_delegate.h" 29 #include "components/sync_sessions/synced_tab_delegate.h"
30 #include "components/sync_sessions/synced_window_delegate.h" 30 #include "components/sync_sessions/synced_window_delegate.h"
31 #include "components/sync_sessions/synced_window_delegates_getter.h" 31 #include "components/sync_sessions/synced_window_delegates_getter.h"
32 #include "content/public/browser/navigation_entry.h" 32 #include "content/public/browser/navigation_entry.h"
33 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
34 #include "testing/gmock/include/gmock/gmock.h" 34 #include "testing/gmock/include/gmock/gmock.h"
35 #include "testing/gtest/include/gtest/gtest.h" 35 #include "testing/gtest/include/gtest/gtest.h"
36 36
(...skipping 2570 matching lines...) Expand 10 before | Expand all | Expand 10 after
2607 base::Time last_time; 2607 base::Time last_time;
2608 for (size_t i = 0; i < tabs.size(); ++i) { 2608 for (size_t i = 0; i < tabs.size(); ++i) {
2609 base::Time this_time = tabs[i]->timestamp; 2609 base::Time this_time = tabs[i]->timestamp;
2610 if (i > 0) 2610 if (i > 0)
2611 ASSERT_GE(last_time, this_time); 2611 ASSERT_GE(last_time, this_time);
2612 last_time = tabs[i]->timestamp; 2612 last_time = tabs[i]->timestamp;
2613 } 2613 }
2614 } 2614 }
2615 2615
2616 } // namespace sync_sessions 2616 } // namespace sync_sessions
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_start_util.h ('k') | chrome/browser/sync/test/integration/apps_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698