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

Side by Side Diff: blimp/engine/browser/blimp_client_session_manager.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_MANAGER_H_
6 #define BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_MANAGER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12
13 namespace net {
14 class NetLog;
15 }
16
17 namespace blimp {
18 namespace engine {
19
20 class BlimpClientSession;
21 class BlimpClientSessionManagerDelegate;
22
23 class BlimpClientSessionManager {
24 public:
25 // Caller owns |delegate| and |net_log|.
26 BlimpClientSessionManager(BlimpClientSessionManagerDelegate* delegate,
27 net::NetLog* net_log);
28 ~BlimpClientSessionManager();
29
30 void AttachTestClientSession();
Kevin M 2015/10/14 17:52:57 Recommend adding a separate testing constructor th
haibinlu 2015/10/15 01:59:28 Done.
31
32 private:
33 BlimpClientSessionManagerDelegate* delegate_;
34 net::NetLog* net_log_;
35 scoped_ptr<BlimpClientSession> active_session_;
36
37 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionManager);
38 };
39
40 } // namespace engine
41 } // namespace blimp
42
43 #endif // BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698