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

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

Issue 1912843002: Convert //components/sessions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/serialized_navigation_entry.h" 5 #include "components/sessions/core/serialized_navigation_entry.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/memory/scoped_ptr.h"
13 #include "base/pickle.h" 13 #include "base/pickle.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "components/sessions/core/serialized_navigation_driver.h" 18 #include "components/sessions/core/serialized_navigation_driver.h"
19 #include "components/sessions/core/serialized_navigation_entry_test_helper.h" 19 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
20 #include "sync/protocol/session_specifics.pb.h" 20 #include "sync/protocol/session_specifics.pb.h"
21 #include "sync/util/time.h" 21 #include "sync/util/time.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 const ui::PageTransition constructed_transition = 216 const ui::PageTransition constructed_transition =
217 constructed_nav.transition_type(); 217 constructed_nav.transition_type();
218 218
219 EXPECT_EQ(transition, constructed_transition); 219 EXPECT_EQ(transition, constructed_transition);
220 } 220 }
221 } 221 }
222 } 222 }
223 223
224 } // namespace 224 } // namespace
225 } // namespace sessions 225 } // namespace sessions
OLDNEW
« no previous file with comments | « components/sessions/core/serialized_navigation_entry.h ('k') | components/sessions/core/session_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698