| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_de
legate.h" | 5 #include "ios/chrome/browser/signin/ios_chrome_signin_status_metrics_provider_de
legate.h" |
| 6 | 6 |
| 7 #include "components/signin/core/browser/signin_manager.h" | 7 #include "components/signin/core/browser/signin_manager.h" |
| 8 #include "components/signin/core/browser/signin_status_metrics_provider.h" | 8 #include "components/signin/core/browser/signin_status_metrics_provider.h" |
| 9 #include "ios/chrome/browser/application_context.h" | 9 #include "ios/chrome/browser/application_context.h" |
| 10 #include "ios/chrome/browser/signin/signin_manager_factory.h" | 10 #include "ios/chrome/browser/signin/signin_manager_factory.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 void IOSChromeSigninStatusMetricsProviderDelegate::SigninManagerShutdown( | 68 void IOSChromeSigninStatusMetricsProviderDelegate::SigninManagerShutdown( |
| 69 SigninManager* manager) { | 69 SigninManager* manager) { |
| 70 owner()->OnSigninManagerShutdown(manager); | 70 owner()->OnSigninManagerShutdown(manager); |
| 71 } | 71 } |
| 72 | 72 |
| 73 std::vector<ios::ChromeBrowserState*> | 73 std::vector<ios::ChromeBrowserState*> |
| 74 IOSChromeSigninStatusMetricsProviderDelegate::GetLoadedChromeBrowserStates() { | 74 IOSChromeSigninStatusMetricsProviderDelegate::GetLoadedChromeBrowserStates() { |
| 75 return GetApplicationContext() | 75 return GetApplicationContext() |
| 76 ->GetChromeBrowserStateManager() | 76 ->GetChromeBrowserStateManager() |
| 77 ->GetLoadedChromeBrowserStates(); | 77 ->GetLoadedBrowserStates(); |
| 78 } | 78 } |
| OLD | NEW |