chromium/components/sessions/core/session_id.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_SESSIONS_CORE_SESSION_ID_H_
#define COMPONENTS_SESSIONS_CORE_SESSION_ID_H_

#include <stdint.h>
#include <functional>
#include <iosfwd>

#include "components/sessions/core/sessions_export.h"

// Uniquely identifies a tab or window for the duration of a session. Pass by
// value.
class SESSIONS_EXPORT SessionID {};

inline bool operator==(SessionID lhs, SessionID rhs) {}

inline bool operator!=(SessionID lhs, SessionID rhs) {}

inline bool operator<(SessionID lhs, SessionID rhs) {}

// For use in gtest-based unit tests.
SESSIONS_EXPORT std::ostream& operator<<(std::ostream& out, SessionID id);

#endif  // COMPONENTS_SESSIONS_CORE_SESSION_ID_H_