blob: 46345afa5ee7b9e1528115a1568badca13664e69 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/chrome/browser/sessions/ios_chrome_session_tab_helper.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
IOSChromeSessionTabHelper::IOSChromeSessionTabHelper(web::WebState* web_state)
: session_id_(SessionID::NewUnique()),
window_id_(SessionID::InvalidValue()) {}
IOSChromeSessionTabHelper::~IOSChromeSessionTabHelper() {}
void IOSChromeSessionTabHelper::SetWindowID(const SessionID& id) {
window_id_ = id;
}