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

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

Issue 15648012: Update references to Blink's Platform API headers (remaining) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 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/serialized_navigation_entry.h" 5 #include "components/sessions/serialized_navigation_entry.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "content/public/browser/favicon_status.h" 17 #include "content/public/browser/favicon_status.h"
18 #include "content/public/browser/navigation_entry.h" 18 #include "content/public/browser/navigation_entry.h"
19 #include "content/public/common/page_transition_types.h" 19 #include "content/public/common/page_transition_types.h"
20 #include "content/public/common/referrer.h" 20 #include "content/public/common/referrer.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 #include "sync/protocol/session_specifics.pb.h" 22 #include "sync/protocol/session_specifics.pb.h"
23 #include "sync/util/time.h" 23 #include "sync/util/time.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 25 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
26 26
27 namespace sessions { 27 namespace sessions {
28 namespace { 28 namespace {
29 29
30 const int kIndex = 3; 30 const int kIndex = 3;
31 const int kUniqueID = 50; 31 const int kUniqueID = 50;
32 const content::Referrer kReferrer = 32 const content::Referrer kReferrer =
33 content::Referrer(GURL("http://www.referrer.com"), 33 content::Referrer(GURL("http://www.referrer.com"),
34 WebKit::WebReferrerPolicyAlways); 34 WebKit::WebReferrerPolicyAlways);
35 const GURL kVirtualURL("http://www.virtual-url.com"); 35 const GURL kVirtualURL("http://www.virtual-url.com");
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 const content::PageTransition constructed_transition = 281 const content::PageTransition constructed_transition =
282 constructed_nav.transition_type(); 282 constructed_nav.transition_type();
283 283
284 EXPECT_EQ(transition, constructed_transition); 284 EXPECT_EQ(transition, constructed_transition);
285 } 285 }
286 } 286 }
287 } 287 }
288 288
289 } // namespace 289 } // namespace
290 } // namespace sessions 290 } // namespace sessions
OLDNEW
« no previous file with comments | « components/sessions/serialized_navigation_entry_test_helper.cc ('k') | components/visitedlink/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698