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

Side by Side Diff: chrome/browser/sync/glue/synced_session_util_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/glue/synced_session_util.h" 5 #include "chrome/browser/sync/glue/synced_session_util.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "components/sessions/serialized_navigation_entry_test_helper.h" 8 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
9 #include "components/sessions/session_types.h" 9 #include "components/sessions/core/session_types.h"
10 #include "content/public/browser/navigation_entry.h" 10 #include "content/public/browser/navigation_entry.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 using sessions::SessionTab; 14 using sessions::SessionTab;
15 using sessions::SessionWindow; 15 using sessions::SessionWindow;
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 // TODO(skym): Test ShouldSyncSessionTab 19 // TODO(skym): Test ShouldSyncSessionTab
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 SessionWindow window; 106 SessionWindow window;
107 window.tabs.push_back(tab1.release()); 107 window.tabs.push_back(tab1.release());
108 window.tabs.push_back(tab2.release()); 108 window.tabs.push_back(tab2.release());
109 window.tabs.push_back(tab3.release()); 109 window.tabs.push_back(tab3.release());
110 110
111 EXPECT_TRUE(ShouldSyncSessionWindow(window)); 111 EXPECT_TRUE(ShouldSyncSessionWindow(window));
112 } 112 }
113 113
114 } // namespace browser_sync 114 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/synced_session_util.cc ('k') | chrome/browser/sync/glue/synced_tab_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698