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

Side by Side Diff: chrome/browser/ui/webui/help/version_updater_win.cc

Issue 790183002: Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpda... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/version.h" 9 #include "base/version.h"
10 #include "base/win/win_util.h" 10 #include "base/win/win_util.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 scoped_refptr<base::TaskRunner> task_runner( 264 scoped_refptr<base::TaskRunner> task_runner(
265 content::BrowserThread::GetMessageLoopProxyForThread( 265 content::BrowserThread::GetMessageLoopProxyForThread(
266 content::BrowserThread::FILE)); 266 content::BrowserThread::FILE));
267 BeginUpdateCheck(task_runner, install_if_newer, GetElevationParent(), 267 BeginUpdateCheck(task_runner, install_if_newer, GetElevationParent(),
268 base::Bind(&VersionUpdaterWin::OnUpdateCheckResults, 268 base::Bind(&VersionUpdaterWin::OnUpdateCheckResults,
269 weak_factory_.GetWeakPtr())); 269 weak_factory_.GetWeakPtr()));
270 } 270 }
271 271
272 } // namespace 272 } // namespace
273 273
274 VersionUpdater* VersionUpdater::Create(content::BrowserContext* /* context */) { 274 VersionUpdater* VersionUpdater::Create() {
275 return new VersionUpdaterWin; 275 return new VersionUpdaterWin;
276 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698