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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 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/core/serialized_navigation_entry.h" 5 #include "components/sessions/core/serialized_navigation_entry.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/pickle.h" 9 #include "base/pickle.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "components/sessions/core/serialized_navigation_driver.h" 11 #include "components/sessions/core/serialized_navigation_driver.h"
12 #include "sync/protocol/session_specifics.pb.h" 12 #include "components/sync/base/time.h"
13 #include "sync/util/time.h" 13 #include "components/sync/protocol/session_specifics.pb.h"
14 14
15 namespace sessions { 15 namespace sessions {
16 16
17 const char kSearchTermsKey[] = "search_terms"; 17 const char kSearchTermsKey[] = "search_terms";
18 18
19 SerializedNavigationEntry::SerializedNavigationEntry() 19 SerializedNavigationEntry::SerializedNavigationEntry()
20 : index_(-1), 20 : index_(-1),
21 unique_id_(0), 21 unique_id_(0),
22 transition_type_(ui::PAGE_TRANSITION_TYPED), 22 transition_type_(ui::PAGE_TRANSITION_TYPED),
23 has_post_data_(false), 23 has_post_data_(false),
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 redirect_chain_[last_entry].spec()); 465 redirect_chain_[last_entry].spec());
466 } 466 }
467 } 467 }
468 468
469 sync_data.set_is_restored(is_restored_); 469 sync_data.set_is_restored(is_restored_);
470 470
471 return sync_data; 471 return sync_data;
472 } 472 }
473 473
474 } // namespace sessions 474 } // namespace sessions
OLDNEW
« no previous file with comments | « components/sessions/DEPS ('k') | components/sessions/core/serialized_navigation_entry_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698