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

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

Issue 16702003: Move ShellWindow into apps component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yar Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ID_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_ID_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_ID_H_ 6 #define CHROME_BROWSER_SESSIONS_SESSION_ID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 class Browser;
11
12 namespace content { 10 namespace content {
13 class WebContents; 11 class WebContents;
14 } 12 }
15 13
16 // Uniquely identifies a tab or window for the duration of a session. 14 // Uniquely identifies a tab or window for the duration of a session.
17 class SessionID { 15 class SessionID {
18 public: 16 public:
19 typedef int32 id_type; 17 typedef int32 id_type;
20 18
21 SessionID(); 19 SessionID();
(...skipping 18 matching lines...) Expand all
40 38
41 // Returns the underlying id. 39 // Returns the underlying id.
42 void set_id(id_type id) { id_ = id; } 40 void set_id(id_type id) { id_ = id; }
43 id_type id() const { return id_; } 41 id_type id() const { return id_; }
44 42
45 private: 43 private:
46 id_type id_; 44 id_type id_;
47 }; 45 };
48 46
49 #endif // CHROME_BROWSER_SESSIONS_SESSION_ID_H_ 47 #endif // CHROME_BROWSER_SESSIONS_SESSION_ID_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/web_view_interactive_browsertest.cc ('k') | chrome/browser/ui/apps/chrome_shell_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698