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

Side by Side Diff: remoting/host/it2me/it2me_host.h

Issue 1884253003: [remoting android] Plumb It2Me events from C++ to Java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@android-host-it2me-connect
Patch Set: Address comments, git cl format 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
« no previous file with comments | « remoting/host/android/jni_host.cc ('k') | no next file » | 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_HOST_IT2ME_IT2ME_HOST_H_ 5 #ifndef REMOTING_HOST_IT2ME_IT2ME_HOST_H_
6 #define REMOTING_HOST_IT2ME_IT2ME_HOST_H_ 6 #define REMOTING_HOST_IT2ME_IT2ME_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 class ChromotingHost; 29 class ChromotingHost;
30 class ChromotingHostContext; 30 class ChromotingHostContext;
31 class DesktopEnvironmentFactory; 31 class DesktopEnvironmentFactory;
32 class HostEventLogger; 32 class HostEventLogger;
33 class HostNPScriptObject; 33 class HostNPScriptObject;
34 class HostStatusLogger; 34 class HostStatusLogger;
35 class PolicyWatcher; 35 class PolicyWatcher;
36 class RegisterSupportHostRequest; 36 class RegisterSupportHostRequest;
37 class RsaKeyPair; 37 class RsaKeyPair;
38 38
39 // These state values are duplicated in host_session.js. Remember to update 39 // These state values are duplicated in host_session.js and the Android Java
40 // both copies when making changes. 40 // It2MeObserver class. Remember to update all copies when making changes.
41 enum It2MeHostState { 41 enum It2MeHostState {
42 kDisconnected, 42 kDisconnected,
43 kStarting, 43 kStarting,
44 kRequestedAccessCode, 44 kRequestedAccessCode,
45 kReceivedAccessCode, 45 kReceivedAccessCode,
46 kConnected, 46 kConnected,
47 kError, 47 kError,
48 kInvalidDomainError 48 kInvalidDomainError
49 }; 49 };
50 50
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 const std::string& directory_bot_jid); 206 const std::string& directory_bot_jid);
207 207
208 private: 208 private:
209 policy::PolicyService* policy_service_; 209 policy::PolicyService* policy_service_;
210 DISALLOW_COPY_AND_ASSIGN(It2MeHostFactory); 210 DISALLOW_COPY_AND_ASSIGN(It2MeHostFactory);
211 }; 211 };
212 212
213 } // namespace remoting 213 } // namespace remoting
214 214
215 #endif // REMOTING_HOST_IT2ME_IT2ME_HOST_H_ 215 #endif // REMOTING_HOST_IT2ME_IT2ME_HOST_H_
OLDNEW
« no previous file with comments | « remoting/host/android/jni_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698