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

Side by Side Diff: ios/web/public/navigation_item.h

Issue 1028603004: Upstream ios/web/navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-testing
Patch Set: Created 5 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_ 5 #ifndef IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
6 #define IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_ 6 #define IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // page is reloaded.) 97 // page is reloaded.)
98 // 98 //
99 // If GetTimestamp() returns a null time, that means that either: 99 // If GetTimestamp() returns a null time, that means that either:
100 // 100 //
101 // - this navigation hasn't completed yet; 101 // - this navigation hasn't completed yet;
102 // - this navigation was restored and for some reason the 102 // - this navigation was restored and for some reason the
103 // timestamp wasn't available; 103 // timestamp wasn't available;
104 // - or this navigation was copied from a foreign session. 104 // - or this navigation was copied from a foreign session.
105 virtual void SetTimestamp(base::Time timestamp) = 0; 105 virtual void SetTimestamp(base::Time timestamp) = 0;
106 virtual base::Time GetTimestamp() const = 0; 106 virtual base::Time GetTimestamp() const = 0;
107
108 // |true| if this item contains unsafe resources and will be removed. This
109 // property doesn't get serialized.
110 virtual void SetUnsafe(bool is_unsafe) = 0;
111 virtual bool IsUnsafe() const = 0;
107 }; 112 };
108 113
109 } // namespace web 114 } // namespace web
110 115
111 #endif // IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_ 116 #endif // IOS_WEB_PUBLIC_NAVIGATION_ITEM_H_
OLDNEW
« ios/web/navigation/crw_session_entry.h ('K') | « ios/web/navigation/web_load_params.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698