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

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

Issue 1842403003: Added Version Info page to toolbar menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toolbar_menu
Patch Set: Addressed review comments Created 4 years, 8 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
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // The AssignmentCallback for when an assignment is ready. This will trigger 74 // The AssignmentCallback for when an assignment is ready. This will trigger
75 // a connection to the engine. 75 // a connection to the engine.
76 virtual void ConnectWithAssignment(AssignmentSource::Result result, 76 virtual void ConnectWithAssignment(AssignmentSource::Result result,
77 const Assignment& assignment); 77 const Assignment& assignment);
78 78
79 protected: 79 protected:
80 ~BlimpClientSession() override; 80 ~BlimpClientSession() override;
81 81
82 // Notified every time the AssignmentSource returns the result of an attempted 82 // Notified every time the AssignmentSource returns the result of an attempted
83 // assignment request. 83 // assignment request.
84 virtual void OnAssignmentConnectionAttempted(AssignmentSource::Result result); 84 virtual void OnAssignmentConnectionAttempted(AssignmentSource::Result result,
85 const Assignment& assignment);
85 86
86 private: 87 private:
87 void RegisterFeatures(); 88 void RegisterFeatures();
88 89
89 // NetworkEventObserver implementation. 90 // NetworkEventObserver implementation.
90 void OnConnected() override; 91 void OnConnected() override;
91 void OnDisconnected(int result) override; 92 void OnDisconnected(int result) override;
92 93
93 base::Thread io_thread_; 94 base::Thread io_thread_;
94 std::unique_ptr<TabControlFeature> tab_control_feature_; 95 std::unique_ptr<TabControlFeature> tab_control_feature_;
(...skipping 14 matching lines...) Expand all
109 110
110 base::WeakPtrFactory<BlimpClientSession> weak_factory_; 111 base::WeakPtrFactory<BlimpClientSession> weak_factory_;
111 112
112 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession); 113 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession);
113 }; 114 };
114 115
115 } // namespace client 116 } // namespace client
116 } // namespace blimp 117 } // namespace blimp
117 118
118 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 119 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « blimp/client/app/android/java/strings/android_blimp_strings.grd ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698