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

Unified Diff: ios/web/navigation/crw_session_entry.h

Issue 2737203002: Remove CRWSessionEntry. (Closed)
Patch Set: fix XCode-clang build Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/navigation/crw_session_controller_unittest.mm ('k') | ios/web/navigation/crw_session_entry.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/crw_session_entry.h
diff --git a/ios/web/navigation/crw_session_entry.h b/ios/web/navigation/crw_session_entry.h
deleted file mode 100644
index 1251d34f6596908d886a79dac06838fb39ea06cd..0000000000000000000000000000000000000000
--- a/ios/web/navigation/crw_session_entry.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_WEB_NAVIGATION_CRW_SESSION_ENTRY_H_
-#define IOS_WEB_NAVIGATION_CRW_SESSION_ENTRY_H_
-
-#import <Foundation/Foundation.h>
-#include <stdint.h>
-
-#include <memory>
-
-#include "base/strings/string16.h"
-#include "base/time/time.h"
-#include "ui/base/page_transition_types.h"
-#include "url/gurl.h"
-
-namespace web {
-class NavigationItem;
-class NavigationItemImpl;
-}
-
-// A CRWSessionEntry is similar to a NavigationEntry object in desktop Chrome.
-// It maintains the information needed to save/restore a single entry in session
-// history (i.e., one site) for a tab. A tab may have multiple of these objects
-// comprising its entire session history.
-// DEPRECATED, do not use this class and do not add any methods to it.
-// Use web::NavigationItem instead.
-// TODO(crbug.com/454984): Remove this class.
-@interface CRWSessionEntry : NSObject<NSCopying>
-
-// Pointer to the NavigationItem associated with this CRWSessionEntry.
-// Eventually, this will replace CRWSessionEntry entirely.
-@property(nonatomic, readonly) web::NavigationItem* navigationItem;
-
-// Pointer to the NavigationItemImpl associated with this CRWSessionEntry.
-@property(nonatomic, readonly) web::NavigationItemImpl* navigationItemImpl;
-
-// Initialize the session entry with the given NavigationItem.
-- (instancetype)initWithNavigationItem:
- (std::unique_ptr<web::NavigationItem>)item;
-
-@end
-
-#endif // IOS_WEB_NAVIGATION_CRW_SESSION_ENTRY_H_
« no previous file with comments | « ios/web/navigation/crw_session_controller_unittest.mm ('k') | ios/web/navigation/crw_session_entry.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698