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

Side by Side Diff: remoting/client/jni/chromoting_jni_instance.h

Issue 126123002: Show connection type in web-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing Android implementation. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/client/client_user_interface.h ('k') | remoting/client/jni/chromoting_jni_instance.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ 5 #ifndef REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ 6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // Records paint time for statistics logging, if enabled. May be called from 74 // Records paint time for statistics logging, if enabled. May be called from
75 // any thread. 75 // any thread.
76 void RecordPaintTime(int64 paint_time_ms); 76 void RecordPaintTime(int64 paint_time_ms);
77 77
78 // ClientUserInterface implementation. 78 // ClientUserInterface implementation.
79 virtual void OnConnectionState( 79 virtual void OnConnectionState(
80 protocol::ConnectionToHost::State state, 80 protocol::ConnectionToHost::State state,
81 protocol::ErrorCode error) OVERRIDE; 81 protocol::ErrorCode error) OVERRIDE;
82 virtual void OnConnectionReady(bool ready) OVERRIDE; 82 virtual void OnConnectionReady(bool ready) OVERRIDE;
83 virtual void OnRouteChanged(const std::string& channel_name,
84 const protocol::TransportRoute& route) OVERRIDE;
83 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 85 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
84 virtual void SetPairingResponse( 86 virtual void SetPairingResponse(
85 const protocol::PairingResponse& response) OVERRIDE; 87 const protocol::PairingResponse& response) OVERRIDE;
86 virtual void DeliverHostMessage( 88 virtual void DeliverHostMessage(
87 const protocol::ExtensionMessage& message) OVERRIDE; 89 const protocol::ExtensionMessage& message) OVERRIDE;
88 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; 90 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE;
89 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; 91 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE;
90 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> 92 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
91 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; 93 GetTokenFetcher(const std::string& host_public_key) OVERRIDE;
92 94
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 bool stats_logging_enabled_; 156 bool stats_logging_enabled_;
155 157
156 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; 158 friend class base::RefCountedThreadSafe<ChromotingJniInstance>;
157 159
158 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); 160 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance);
159 }; 161 };
160 162
161 } // namespace remoting 163 } // namespace remoting
162 164
163 #endif 165 #endif
OLDNEW
« no previous file with comments | « remoting/client/client_user_interface.h ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698