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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2801353002: [CrOS Tether] Fill out the Initializer class. Tether will now initialize fully once the flag is ena… (Closed)
Patch Set: hansberry@ comments. Created 3 years, 8 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 | « no previous file | chromeos/components/tether/DEPS » ('j') | chromeos/components/tether/host_scanner.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 68980b751c0277c7786b41141bbc1412dfd3c77f..2ec14267a95e0f6fbfe302c6c1100f38fb2cb0f8 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -57,6 +57,7 @@
#include "chrome/browser/chromeos/login/users/chrome_user_manager.h"
#include "chrome/browser/chromeos/login/users/supervised_user_manager.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
+#include "chrome/browser/chromeos/net/tether_notification_presenter.h"
#include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
@@ -73,6 +74,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/signin/account_tracker_service_factory.h"
#include "chrome/browser/signin/easy_unlock_service.h"
+#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/browser/supervised_user/child_accounts/child_account_service.h"
#include "chrome/browser/supervised_user/child_accounts/child_account_service_factory.h"
@@ -1255,7 +1257,10 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnableTether)) {
chromeos::tether::Initializer::Initialize(
- ChromeCryptAuthServiceFactory::GetForBrowserContext(profile));
+ ChromeCryptAuthServiceFactory::GetForBrowserContext(profile),
+ base::MakeUnique<tether::TetherNotificationPresenter>(),
stevenjb 2017/04/10 20:26:59 See my comment in https://codereview.chromium.org/
Kyle Horimoto 2017/04/11 01:40:40 Done.
+ profile->GetPrefs(),
+ ProfileOAuth2TokenServiceFactory::GetForProfile(profile));
}
}
« no previous file with comments | « no previous file | chromeos/components/tether/DEPS » ('j') | chromeos/components/tether/host_scanner.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698