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

Side by Side Diff: remoting/ios/facade/remoting_service.mm

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
« no previous file with comments | « remoting/ios/facade/remoting_service.h ('k') | remoting/ios/host_preferences.h » ('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 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 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import "remoting/client/ios/facade/remoting_service.h" 9 #import "remoting/ios/facade/remoting_service.h"
10 10
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 #import <Security/Security.h> 12 #import <Security/Security.h>
13 13
14 #import "base/mac/bind_objc_block.h" 14 #import "base/mac/bind_objc_block.h"
15 #import "remoting/client/ios/domain/host_info.h" 15 #import "remoting/ios/domain/host_info.h"
16 #import "remoting/client/ios/domain/user_info.h" 16 #import "remoting/ios/domain/user_info.h"
17 #import "remoting/client/ios/facade/host_info.h" 17 #import "remoting/ios/facade/host_info.h"
18 #import "remoting/client/ios/facade/host_list_fetcher.h" 18 #import "remoting/ios/facade/host_list_fetcher.h"
19 #import "remoting/client/ios/facade/ios_client_runtime_delegate.h" 19 #import "remoting/ios/facade/ios_client_runtime_delegate.h"
20 #import "remoting/client/ios/facade/remoting_authentication.h" 20 #import "remoting/ios/facade/remoting_authentication.h"
21 #import "remoting/client/ios/facade/remoting_service.h" 21 #import "remoting/ios/facade/remoting_service.h"
22 #import "remoting/client/ios/keychain_wrapper.h" 22 #import "remoting/ios/keychain_wrapper.h"
23 23
24 #include "base/logging.h" 24 #include "base/logging.h"
25 #include "base/strings/sys_string_conversions.h" 25 #include "base/strings/sys_string_conversions.h"
26 #include "net/url_request/url_request_context_getter.h" 26 #include "net/url_request/url_request_context_getter.h"
27 #include "remoting/base/oauth_token_getter.h" 27 #include "remoting/base/oauth_token_getter.h"
28 #include "remoting/base/oauth_token_getter_impl.h" 28 #include "remoting/base/oauth_token_getter_impl.h"
29 29
30 static NSString* const kCRDAuthenticatedUserEmailKey = 30 static NSString* const kCRDAuthenticatedUserEmailKey =
31 @"kCRDAuthenticatedUserEmailKey"; 31 @"kCRDAuthenticatedUserEmailKey";
32 32
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const std::string& user_email, 167 const std::string& user_email,
168 const std::string& access_token) { 168 const std::string& access_token) {
169 NSString* accessToken = 169 NSString* accessToken =
170 [NSString stringWithCString:access_token.c_str() 170 [NSString stringWithCString:access_token.c_str()
171 encoding:[NSString defaultCStringEncoding]]; 171 encoding:[NSString defaultCStringEncoding]];
172 [self startHostListFetchWith:accessToken]; 172 [self startHostListFetchWith:accessToken];
173 })]; 173 })];
174 } 174 }
175 175
176 @end 176 @end
OLDNEW
« no previous file with comments | « remoting/ios/facade/remoting_service.h ('k') | remoting/ios/host_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698