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

Side by Side Diff: ios/chrome/browser/sessions/ios_chrome_session_tab_helper.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_ 5 #ifndef IOS_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_
6 #define IOS_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_ 6 #define IOS_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "components/sessions/session_id.h" 9 #include "components/sessions/core/session_id.h"
10 #include "ios/web/public/web_state/web_state_user_data.h" 10 #include "ios/web/public/web_state/web_state_user_data.h"
11 11
12 class IOSChromeSessionTabHelper 12 class IOSChromeSessionTabHelper
13 : public web::WebStateUserData<IOSChromeSessionTabHelper> { 13 : public web::WebStateUserData<IOSChromeSessionTabHelper> {
14 public: 14 public:
15 ~IOSChromeSessionTabHelper() override; 15 ~IOSChromeSessionTabHelper() override;
16 16
17 // Returns the identifier used by session restore for this tab. 17 // Returns the identifier used by session restore for this tab.
18 const SessionID& session_id() const { return session_id_; } 18 const SessionID& session_id() const { return session_id_; }
19 19
(...skipping 10 matching lines...) Expand all
30 // sessions. 30 // sessions.
31 const SessionID session_id_; 31 const SessionID session_id_;
32 32
33 // Unique identifier of the window the tab is in. 33 // Unique identifier of the window the tab is in.
34 SessionID window_id_; 34 SessionID window_id_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(IOSChromeSessionTabHelper); 36 DISALLOW_COPY_AND_ASSIGN(IOSChromeSessionTabHelper);
37 }; 37 };
38 38
39 #endif // IOS_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_ 39 #endif // IOS_CHROME_BROWSER_SESSIONS_IOS_CHROME_SESSION_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698