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

Side by Side Diff: chrome/browser/sync/glue/session_model_associator_unittest.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/sessions/session_types.h" 10 #include "chrome/browser/sessions/session_types.h"
11 #include "chrome/browser/sync/glue/session_model_associator.h" 11 #include "chrome/browser/sync/glue/session_model_associator.h"
12 #include "chrome/common/page_transition_types.h"
13 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "content/common/page_transition_types.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 using browser_sync::SessionModelAssociator; 16 using browser_sync::SessionModelAssociator;
17 using browser_sync::ForeignSessionTracker; 17 using browser_sync::ForeignSessionTracker;
18 namespace browser_sync { 18 namespace browser_sync {
19 19
20 typedef testing::Test SessionModelAssociatorTest; 20 typedef testing::Test SessionModelAssociatorTest;
21 21
22 TEST_F(SessionModelAssociatorTest, SessionWindowHasNoTabsToSync) { 22 TEST_F(SessionModelAssociatorTest, SessionWindowHasNoTabsToSync) {
23 SessionWindow win; 23 SessionWindow win;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 ASSERT_FALSE(tracker.LookupAllForeignSessions(&sessions)); 153 ASSERT_FALSE(tracker.LookupAllForeignSessions(&sessions));
154 154
155 tracker.clear(); 155 tracker.clear();
156 ASSERT_EQ(0U, tracker.num_foreign_tabs(tag1)); 156 ASSERT_EQ(0U, tracker.num_foreign_tabs(tag1));
157 ASSERT_EQ(0U, tracker.num_foreign_tabs(tag2)); 157 ASSERT_EQ(0U, tracker.num_foreign_tabs(tag2));
158 ASSERT_EQ(0U, tracker.num_foreign_sessions()); 158 ASSERT_EQ(0U, tracker.num_foreign_sessions());
159 } 159 }
160 160
161 } // namespace browser_sync 161 } // namespace browser_sync
162 162
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_types.h ('k') | chrome/browser/tab_contents/render_view_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698