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

Unified Diff: chrome/browser/ui/webui/flags_ui.cc

Issue 738843002: Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 6 years, 1 month 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
Index: chrome/browser/ui/webui/flags_ui.cc
diff --git a/chrome/browser/ui/webui/flags_ui.cc b/chrome/browser/ui/webui/flags_ui.cc
index c54147caa4817338f376da9617d358a0bedf9dae..d586c827abe485ac264f2505679bcb81af41227e 100644
--- a/chrome/browser/ui/webui/flags_ui.cc
+++ b/chrome/browser/ui/webui/flags_ui.cc
@@ -292,15 +292,15 @@ FlagsUI::FlagsUI(content::WebUI* web_ui)
#if defined(OS_CHROMEOS)
if (base::SysInfo::IsRunningOnChromeOS() &&
- chromeos::OwnerSettingsServiceChromeOSFactory::GetForProfile(profile)) {
+ chromeos::OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
+ profile)) {
chromeos::OwnerSettingsServiceChromeOS* service =
- chromeos::OwnerSettingsServiceChromeOSFactory::GetForProfile(profile);
+ chromeos::OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
+ profile);
service->IsOwnerAsync(base::Bind(
&FinishInitialization, weak_factory_.GetWeakPtr(), profile, handler));
} else {
- FinishInitialization(weak_factory_.GetWeakPtr(),
- profile,
- handler,
+ FinishInitialization(weak_factory_.GetWeakPtr(), profile, handler,
false /* current_user_is_owner */);
}
#else
« no previous file with comments | « chrome/browser/chromeos/settings/session_manager_operation_unittest.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698