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

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

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 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 "chrome/browser/sync/sessions/sessions_sync_manager.h" 5 #include "chrome/browser/sync/sessions/sessions_sync_manager.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/sessions/session_tab_helper.h" 9 #include "chrome/browser/sessions/session_tab_helper.h"
10 #include "chrome/browser/sync/glue/session_sync_test_helper.h" 10 #include "chrome/browser/sync/glue/session_sync_test_helper.h"
11 #include "chrome/browser/sync/glue/synced_tab_delegate.h" 11 #include "chrome/browser/sync/glue/synced_tab_delegate.h"
12 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h" 12 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h"
13 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h" 13 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h"
14 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" 14 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 15 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "chrome/test/base/browser_with_test_window_test.h" 16 #include "chrome/test/base/browser_with_test_window_test.h"
17 #include "components/sessions/serialized_navigation_entry_test_helper.h" 17 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
18 #include "components/sessions/session_id.h" 18 #include "components/sessions/core/session_id.h"
19 #include "components/sessions/session_types.h" 19 #include "components/sessions/core/session_types.h"
20 #include "components/sync_driver/device_info.h" 20 #include "components/sync_driver/device_info.h"
21 #include "components/sync_driver/glue/synced_window_delegate.h" 21 #include "components/sync_driver/glue/synced_window_delegate.h"
22 #include "components/sync_driver/local_device_info_provider_mock.h" 22 #include "components/sync_driver/local_device_info_provider_mock.h"
23 #include "components/sync_driver/sessions/synced_window_delegates_getter.h" 23 #include "components/sync_driver/sessions/synced_window_delegates_getter.h"
24 #include "content/public/browser/navigation_entry.h" 24 #include "content/public/browser/navigation_entry.h"
25 #include "content/public/browser/notification_details.h" 25 #include "content/public/browser/notification_details.h"
26 #include "content/public/browser/notification_service.h" 26 #include "content/public/browser/notification_service.h"
27 #include "content/public/browser/notification_source.h" 27 #include "content/public/browser/notification_source.h"
28 #include "content/public/browser/web_contents.h" 28 #include "content/public/browser/web_contents.h"
29 #include "sync/api/attachments/attachment_id.h" 29 #include "sync/api/attachments/attachment_id.h"
(...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2204 base::Time last_time; 2204 base::Time last_time;
2205 for (size_t i = 0; i < tabs.size(); ++i) { 2205 for (size_t i = 0; i < tabs.size(); ++i) {
2206 base::Time this_time = tabs[i]->timestamp; 2206 base::Time this_time = tabs[i]->timestamp;
2207 if (i > 0) 2207 if (i > 0)
2208 ASSERT_GE(last_time, this_time); 2208 ASSERT_GE(last_time, this_time);
2209 last_time = tabs[i]->timestamp; 2209 last_time = tabs[i]->timestamp;
2210 } 2210 }
2211 } 2211 }
2212 2212
2213 } // namespace browser_sync 2213 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/sessions/sessions_sync_manager.h ('k') | chrome/browser/sync/test/integration/sessions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698