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

Unified Diff: ash/shell.cc

Issue 2795863002: Disable Shell from connecting to prefs service (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index a0596e19a4fbfa7d47565d71157522ae5b830056..42a3104e736f98c3c101ac77ebe66f1d2676d640 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -796,13 +796,15 @@ void Shell::Init(const ShellInitParams& init_params) {
wallpaper_delegate_ = shell_delegate_->CreateWallpaperDelegate();
// Can be null in tests.
+ // TODO(jonross): reenable once the cause of crbug.com/707321 is determined.
+ /*
if (wm_shell_->IsRunningInMash() && shell_delegate_->GetShellConnector()) {
prefs::ConnectToPrefService(
shell_delegate_->GetShellConnector(),
make_scoped_refptr(new PrefRegistrySimple()),
base::Bind(&Shell::OnPrefServiceInitialized, base::Unretained(this)),
prefs::mojom::kForwarderServiceName);
- }
+ }*/
// Some delegates access WmShell during their construction. Create them here
// instead of the WmShell constructor.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698