Chromium Code Reviews| Index: blimp/engine/browser/blimp_client_session.h |
| diff --git a/blimp/engine/browser/blimp_client_session.h b/blimp/engine/browser/blimp_client_session.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cc3573c608d0ed9a0a9042a65a9281a667b6de1c |
| --- /dev/null |
| +++ b/blimp/engine/browser/blimp_client_session.h |
| @@ -0,0 +1,37 @@ |
| +// 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. |
| + |
| +#ifndef BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ |
|
Kevin M
2015/10/14 17:52:56
This, and the ClientSessionManager, should probabl
haibinlu
2015/10/15 01:59:28
done. removed client session manager per offline d
|
| +#define BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/macros.h" |
| +#include "ui/gfx/geometry/size.h" |
| +#include "url/gurl.h" |
| + |
| +namespace blimp { |
| +namespace engine { |
| + |
| +class BlimpClientSession { |
| + public: |
| + BlimpClientSession(const gfx::Size& screen_size, const GURL& url_to_load); |
| + ~BlimpClientSession(); |
| + |
| + // A blimp client has one screen. |
|
Kevin M
2015/10/14 17:52:56
Remove these fields and includes as per our discus
haibinlu
2015/10/15 01:59:28
done
|
| + const gfx::Size& screen_size() const { return screen_size_; } |
| + |
| + const GURL& url_to_load() const { return url_to_load_; } |
| + |
| + private: |
| + gfx::Size screen_size_; |
| + GURL url_to_load_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(BlimpClientSession); |
| +}; |
| + |
| +} // namespace engine |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ |