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

Side by Side Diff: blimp/client/session/blimp_client_session.h

Issue 1570943002: [Blimp client] Move client code into blimp::client namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « blimp/client/linux/blimp_main.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 5 #ifndef BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
6 #define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 6 #define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "blimp/client/blimp_client_export.h" 12 #include "blimp/client/blimp_client_export.h"
13 #include "blimp/common/proto/blimp_message.pb.h" 13 #include "blimp/common/proto/blimp_message.pb.h"
14 #include "blimp/net/blimp_message_processor.h" 14 #include "blimp/net/blimp_message_processor.h"
15 15
16 namespace blimp { 16 namespace blimp {
17 17
18 class BlimpMessageProcessor; 18 class BlimpMessageProcessor;
19 class BlimpMessageThreadPipe; 19 class BlimpMessageThreadPipe;
20 class BrowserConnectionHandler; 20 class BrowserConnectionHandler;
21 class ClientConnectionManager; 21 class ClientConnectionManager;
22
23 namespace client {
24
22 class ClientNetworkComponents; 25 class ClientNetworkComponents;
23 class NavigationFeature; 26 class NavigationFeature;
24 class RenderWidgetFeature; 27 class RenderWidgetFeature;
25 class TabControlFeature; 28 class TabControlFeature;
26 29
27 // BlimpClientSession represents a single active session of Blimp on the client 30 // BlimpClientSession represents a single active session of Blimp on the client
28 // regardless of whether or not the client application is in the background or 31 // regardless of whether or not the client application is in the background or
29 // foreground. The only time this session is invalid is during initialization 32 // foreground. The only time this session is invalid is during initialization
30 // and shutdown of this particular client process (or Activity on Android). 33 // and shutdown of this particular client process (or Activity on Android).
31 // 34 //
(...skipping 29 matching lines...) Expand all
61 scoped_ptr<ClientNetworkComponents> net_components_; 64 scoped_ptr<ClientNetworkComponents> net_components_;
62 65
63 // Pipes for receiving BlimpMessages from IO thread. 66 // Pipes for receiving BlimpMessages from IO thread.
64 // Incoming messages are only routed to the UI thread since all features run 67 // Incoming messages are only routed to the UI thread since all features run
65 // on the UI thread. 68 // on the UI thread.
66 std::vector<scoped_ptr<BlimpMessageThreadPipe>> incoming_pipes_; 69 std::vector<scoped_ptr<BlimpMessageThreadPipe>> incoming_pipes_;
67 70
68 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession); 71 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession);
69 }; 72 };
70 73
74 } // namespace client
71 } // namespace blimp 75 } // namespace blimp
72 76
73 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 77 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « blimp/client/linux/blimp_main.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698