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

Unified Diff: chrome/browser/sessions/session_types.h

Issue 3296003: FBTF: Move the TabRestoreService::Observer into its own file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: More mac fixes Created 10 years, 4 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 | « chrome/browser/sessions/session_backend.cc ('k') | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_types.h
diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h
index 07dbae4f68af35b485c431268db231df01ab3056..119392a17f6ef94c5c74d0fcfa7c98da3d219ec9 100644
--- a/chrome/browser/sessions/session_types.h
+++ b/chrome/browser/sessions/session_types.h
@@ -31,25 +31,16 @@ class TabNavigation {
HAS_POST_DATA = 1
};
- TabNavigation()
- : transition_(PageTransition::TYPED),
- type_mask_(0),
- index_(-1) {
- }
-
+ TabNavigation();
TabNavigation(int index,
const GURL& virtual_url,
const GURL& referrer,
const string16& title,
const std::string& state,
- PageTransition::Type transition)
- : virtual_url_(virtual_url),
- referrer_(referrer),
- title_(title),
- state_(state),
- transition_(transition),
- type_mask_(0),
- index_(index) {}
+ PageTransition::Type transition);
+ TabNavigation(const TabNavigation& tab);
+ ~TabNavigation();
+ TabNavigation& operator=(const TabNavigation& tab);
// Converts this TabNavigation into a NavigationEntry with a page id of
// |page_id|. The caller owns the returned NavigationEntry.
@@ -107,10 +98,8 @@ class TabNavigation {
// SessionTab corresponds to a NavigationController.
struct SessionTab {
- SessionTab()
- : tab_visual_index(-1),
- current_navigation_index(-1),
- pinned(false) { }
+ SessionTab();
+ ~SessionTab();
// Unique id of the window.
SessionID window_id;
« no previous file with comments | « chrome/browser/sessions/session_backend.cc ('k') | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698