OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "base/memory/scoped_vector.h" | |
6 #include "chrome/browser/sessions/session_service.h" | 5 #include "chrome/browser/sessions/session_service.h" |
7 #include "chrome/browser/sync/profile_sync_service.h" | 6 #include "chrome/browser/sync/profile_sync_service.h" |
8 #include "chrome/browser/sync/test/integration/sessions_helper.h" | 7 #include "chrome/browser/sync/test/integration/sessions_helper.h" |
9 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" | 8 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" |
10 #include "chrome/browser/sync/test/integration/sync_test.h" | 9 #include "chrome/browser/sync/test/integration/sync_test.h" |
11 #include "chrome/browser/sync/test/integration/typed_urls_helper.h" | 10 #include "chrome/browser/sync/test/integration/typed_urls_helper.h" |
12 #include "chrome/common/url_constants.h" | 11 #include "chrome/common/url_constants.h" |
13 #include "components/history/core/browser/history_types.h" | 12 #include "components/history/core/browser/history_types.h" |
14 #include "components/sessions/session_types.h" | 13 #include "components/sessions/session_types.h" |
15 #include "sync/test/fake_server/fake_server_verifier.h" | 14 #include "sync/test/fake_server/fake_server_verifier.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 for (std::vector<sessions::SerializedNavigationEntry>::const_iterator | 144 for (std::vector<sessions::SerializedNavigationEntry>::const_iterator |
146 it3 = (*it2)->navigations.begin(); | 145 it3 = (*it2)->navigations.begin(); |
147 it3 != (*it2)->navigations.end(); ++it3) { | 146 it3 != (*it2)->navigations.end(); ++it3) { |
148 EXPECT_EQ(200, it3->http_status_code()); | 147 EXPECT_EQ(200, it3->http_status_code()); |
149 ++found_navigations; | 148 ++found_navigations; |
150 } | 149 } |
151 } | 150 } |
152 } | 151 } |
153 ASSERT_EQ(1, found_navigations); | 152 ASSERT_EQ(1, found_navigations); |
154 } | 153 } |
OLD | NEW |