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

Side by Side Diff: components/arc/arc_bridge_service.h

Issue 2425753002: Rename ArcBridgeBootstrap to ArcSession. (Closed)
Patch Set: Address comment. Created 4 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
« no previous file with comments | « components/arc/arc_bridge_bootstrap.cc ('k') | components/arc/arc_bridge_service_impl.h » ('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 COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 5 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 protected: 165 protected:
166 // The possible states of the bridge. In the normal flow, the state changes 166 // The possible states of the bridge. In the normal flow, the state changes
167 // in the following sequence: 167 // in the following sequence:
168 // 168 //
169 // STOPPED 169 // STOPPED
170 // PrerequisitesChanged() -> 170 // PrerequisitesChanged() ->
171 // CONNECTING 171 // CONNECTING
172 // OnConnectionEstablished() -> 172 // OnConnectionEstablished() ->
173 // READY 173 // READY
174 // 174 //
175 // The ArcBridgeBootstrap state machine can be thought of being substates of 175 // The ArcSession state machine can be thought of being substates of
176 // ArcBridgeService's CONNECTING state. 176 // ArcBridgeService's CONNECTING state.
177 // 177 //
178 // * 178 // *
179 // StopInstance() -> 179 // StopInstance() ->
180 // STOPPING 180 // STOPPING
181 // OnStopped() -> 181 // OnStopped() ->
182 // STOPPED 182 // STOPPED
183 enum class State { 183 enum class State {
184 // ARC is not currently running. 184 // ARC is not currently running.
185 STOPPED, 185 STOPPED,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); 264 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);
265 }; 265 };
266 266
267 // Defines "<<" operator for LOGging purpose. 267 // Defines "<<" operator for LOGging purpose.
268 std::ostream& operator<<( 268 std::ostream& operator<<(
269 std::ostream& os, ArcBridgeService::StopReason reason); 269 std::ostream& os, ArcBridgeService::StopReason reason);
270 270
271 } // namespace arc 271 } // namespace arc
272 272
273 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 273 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/arc/arc_bridge_bootstrap.cc ('k') | components/arc/arc_bridge_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698