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

Side by Side Diff: components/sessions/core/session_types_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 11 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 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 "components/sessions/core/session_types.h" 5 #include "components/sessions/core/session_types.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "components/sessions/core/serialized_navigation_entry_test_helper.h" 13 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
15 #include "sync/protocol/session_specifics.pb.h" 14 #include "sync/protocol/session_specifics.pb.h"
16 #include "sync/util/time.h" 15 #include "sync/util/time.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 #include "ui/base/page_transition_types.h" 17 #include "ui/base/page_transition_types.h"
19 #include "url/gurl.h" 18 #include "url/gurl.h"
20 19
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 EXPECT_FALSE(sync_data.has_favicon()); 113 EXPECT_FALSE(sync_data.has_favicon());
115 EXPECT_FALSE(sync_data.has_favicon_type()); 114 EXPECT_FALSE(sync_data.has_favicon_type());
116 EXPECT_FALSE(sync_data.has_favicon_source()); 115 EXPECT_FALSE(sync_data.has_favicon_source());
117 116
118 ASSERT_EQ(2, sync_data.variation_id_size()); 117 ASSERT_EQ(2, sync_data.variation_id_size());
119 EXPECT_EQ(3312238u, sync_data.variation_id(0)); 118 EXPECT_EQ(3312238u, sync_data.variation_id(0));
120 EXPECT_EQ(3312242u, sync_data.variation_id(1)); 119 EXPECT_EQ(3312242u, sync_data.variation_id(1));
121 } 120 }
122 121
123 } // namespace 122 } // namespace
OLDNEW
« no previous file with comments | « components/sessions/core/session_types.cc ('k') | components/sessions/core/tab_restore_service_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698