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

Side by Side Diff: blimp/engine/browser/blimp_client_session.h

Issue 1403083002: [Blimp] Adds Blimp EngineSession and ClientSession skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #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
6 #define BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "ui/gfx/geometry/size.h"
12 #include "url/gurl.h"
13
14 namespace blimp {
15 namespace engine {
16
17 class BlimpClientSession {
18 public:
19 BlimpClientSession(const gfx::Size& screen_size, const GURL& url_to_load);
20 ~BlimpClientSession();
21
22 // 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
23 const gfx::Size& screen_size() const { return screen_size_; }
24
25 const GURL& url_to_load() const { return url_to_load_; }
26
27 private:
28 gfx::Size screen_size_;
29 GURL url_to_load_;
30
31 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession);
32 };
33
34 } // namespace engine
35 } // namespace blimp
36
37 #endif // BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698