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

Side by Side Diff: remoting/ios/facade/host_list_fetcher.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "remoting/client/ios/facade/host_list_fetcher.h" 5 #include "remoting/ios/facade/host_list_fetcher.h"
6 6
7 #include <thread> 7 #include <thread>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "net/http/http_status_code.h" 15 #include "net/http/http_status_code.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 DCHECK(source); 102 DCHECK(source);
103 103
104 std::vector<HostInfo> hostlist; 104 std::vector<HostInfo> hostlist;
105 if (!ProcessResponse(&hostlist)) { 105 if (!ProcessResponse(&hostlist)) {
106 hostlist.clear(); 106 hostlist.clear();
107 } 107 }
108 base::ResetAndReturn(&hostlist_callback_).Run(hostlist); 108 base::ResetAndReturn(&hostlist_callback_).Run(hostlist);
109 } 109 }
110 110
111 } // namespace remoting 111 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/ios/facade/host_list_fetcher.h ('k') | remoting/ios/facade/ios_client_runtime_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698