OLD | NEW |
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 Loading... |
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 |
OLD | NEW |