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

Side by Side Diff: ios/chrome/browser/signin/authentication_service.mm

Issue 2603973002: Import Objective C Frameworks (Closed)
Patch Set: only ios Created 3 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
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 #import "ios/chrome/browser/signin/authentication_service.h" 5 #import "ios/chrome/browser/signin/authentication_service.h"
6 6
7 #include <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/strings/sys_string_conversions.h" 13 #include "base/strings/sys_string_conversions.h"
14 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "components/browser_sync/profile_sync_service.h" 15 #include "components/browser_sync/profile_sync_service.h"
16 #include "components/pref_registry/pref_registry_syncable.h" 16 #include "components/pref_registry/pref_registry_syncable.h"
17 #include "components/prefs/pref_service.h" 17 #include "components/prefs/pref_service.h"
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 // integration is enabled. 607 // integration is enabled.
608 return false; 608 return false;
609 } 609 }
610 std::string hosted_domain = 610 std::string hosted_domain =
611 ios::SigninManagerFactory::GetForBrowserState(browser_state_) 611 ios::SigninManagerFactory::GetForBrowserState(browser_state_)
612 ->GetAuthenticatedAccountInfo() 612 ->GetAuthenticatedAccountInfo()
613 .hosted_domain; 613 .hosted_domain;
614 return !hosted_domain.empty() && 614 return !hosted_domain.empty() &&
615 hosted_domain != AccountTrackerService::kNoHostedDomainFound; 615 hosted_domain != AccountTrackerService::kNoHostedDomainFound;
616 } 616 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/root_coordinator.h ('k') | ios/chrome/browser/signin/chrome_identity_service_observer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698