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

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

Issue 672083002: Refactoring of SessionService to get componentized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing windows compile problem Created 6 years, 2 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_types.h ('k') | chrome/browser/sync/glue/session_sync_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_types.cc
diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc
index a7ec0221734f1406ad8ae9e677de7d71c05663a1..5664743fa96a9dfb780efa6731660080fe9be083 100644
--- a/chrome/browser/sessions/session_types.cc
+++ b/chrome/browser/sessions/session_types.cc
@@ -59,7 +59,7 @@ sync_pb::SessionTab SessionTab::ToSyncData() const {
SessionWindow::SessionWindow()
: selected_tab_index(-1),
- type(Browser::TYPE_TABBED),
+ type(TYPE_TABBED),
is_constrained(true),
show_state(ui::SHOW_STATE_DEFAULT) {
}
@@ -73,11 +73,11 @@ sync_pb::SessionWindow SessionWindow::ToSyncData() const {
sync_data.set_window_id(window_id.id());
sync_data.set_selected_tab_index(selected_tab_index);
switch (type) {
- case Browser::TYPE_TABBED:
+ case SessionWindow::TYPE_TABBED:
sync_data.set_browser_type(
sync_pb::SessionWindow_BrowserType_TYPE_TABBED);
break;
- case Browser::TYPE_POPUP:
+ case SessionWindow::TYPE_POPUP:
sync_data.set_browser_type(
sync_pb::SessionWindow_BrowserType_TYPE_POPUP);
break;
« no previous file with comments | « chrome/browser/sessions/session_types.h ('k') | chrome/browser/sync/glue/session_sync_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698