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

Unified Diff: remoting/client/ios/facade/host_info.h

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/facade/BUILD.gn ('k') | remoting/client/ios/facade/host_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/facade/host_info.h
diff --git a/remoting/client/ios/facade/host_info.h b/remoting/client/ios/facade/host_info.h
deleted file mode 100644
index 1915bf273a664f142894419d94985b7b8fc3fa30..0000000000000000000000000000000000000000
--- a/remoting/client/ios/facade/host_info.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_IOS_FACADE_HOST_INFO_H_
-#define REMOTING_CLIENT_IOS_FACADE_HOST_INFO_H_
-
-#include <string>
-#include <vector>
-
-#include "base/values.h"
-
-namespace remoting {
-
-enum HostStatus { kHostStatusOnline, kHostStatusOffline };
-
-// |remoting::HostInfo| is an object containing the data from host list fetch
-// for transport in native code.
-struct HostInfo {
- HostInfo();
- HostInfo(const HostInfo& other);
- ~HostInfo();
-
- // Returns true if |host_info| is valid and initializes HostInfo.
- bool ParseHostInfo(const base::DictionaryValue& host_info);
-
- // Returns true if the chromoting host is ready to accept connections.
- bool IsReadyForConnection() const;
-
- std::string host_id;
- std::string host_jid;
- std::string host_name;
- HostStatus status = kHostStatusOffline;
- std::string offline_reason;
- std::string public_key;
- std::vector<std::string> token_url_patterns;
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CLIENT_IOS_FACADE_HOST_INFO_H_
« no previous file with comments | « remoting/client/ios/facade/BUILD.gn ('k') | remoting/client/ios/facade/host_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698