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

Side by Side Diff: chrome/browser/sessions/session_tab_helper.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_ 6 #define CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "components/sessions/core/session_id.h" 9 #include "components/sessions/core/session_id.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
11 #include "content/public/browser/web_contents_user_data.h" 11 #include "content/public/browser/web_contents_user_data.h"
12 12
13 // This class keeps the extension API's windowID up-to-date with the current 13 // This class keeps the extension API's windowID up-to-date with the current
14 // window of the tab. 14 // window of the tab.
15 class SessionTabHelper : public content::WebContentsObserver, 15 class SessionTabHelper : public content::WebContentsObserver,
16 public content::WebContentsUserData<SessionTabHelper> { 16 public content::WebContentsUserData<SessionTabHelper> {
17 public: 17 public:
18 ~SessionTabHelper() override; 18 ~SessionTabHelper() override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // sessions. 54 // sessions.
55 const SessionID session_id_; 55 const SessionID session_id_;
56 56
57 // Unique identifier of the window the tab is in. 57 // Unique identifier of the window the tab is in.
58 SessionID window_id_; 58 SessionID window_id_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(SessionTabHelper); 60 DISALLOW_COPY_AND_ASSIGN(SessionTabHelper);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_ 63 #endif // CHROME_BROWSER_SESSIONS_SESSION_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | chrome/browser/sessions/tab_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698