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

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

Issue 15462003: Update references to Blink's Platform API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "base/pickle.h" 7 #include "base/pickle.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "content/public/browser/favicon_status.h" 9 #include "content/public/browser/favicon_status.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
11 #include "content/public/browser/navigation_entry.h" 11 #include "content/public/browser/navigation_entry.h"
12 #include "sync/protocol/session_specifics.pb.h" 12 #include "sync/protocol/session_specifics.pb.h"
13 #include "sync/util/time.h" 13 #include "sync/util/time.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 14 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
15 #include "webkit/glue/glue_serialize.h" 15 #include "webkit/glue/glue_serialize.h"
16 16
17 using content::NavigationEntry; 17 using content::NavigationEntry;
18 18
19 namespace sessions { 19 namespace sessions {
20 20
21 const char kSearchTermsKey[] = "search_terms"; 21 const char kSearchTermsKey[] = "search_terms";
22 22
23 SerializedNavigationEntry::SerializedNavigationEntry() 23 SerializedNavigationEntry::SerializedNavigationEntry()
24 : index_(-1), 24 : index_(-1),
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 for (std::vector<SerializedNavigationEntry>::const_iterator 445 for (std::vector<SerializedNavigationEntry>::const_iterator
446 it = navigations.begin(); it != navigations.end(); ++it) { 446 it = navigations.begin(); it != navigations.end(); ++it) {
447 entries.push_back( 447 entries.push_back(
448 it->ToNavigationEntry(page_id, browser_context).release()); 448 it->ToNavigationEntry(page_id, browser_context).release());
449 ++page_id; 449 ++page_id;
450 } 450 }
451 return entries; 451 return entries;
452 } 452 }
453 453
454 } // namespace sessions 454 } // namespace sessions
OLDNEW
« no previous file with comments | « components/sessions/DEPS ('k') | components/sessions/serialized_navigation_entry_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698