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

Side by Side Diff: chrome/browser/ui/webui/help/version_updater_win.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 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // If using Aura, we might not have a Visible window in this process. In 285 // If using Aura, we might not have a Visible window in this process. In
286 // theory Google update can cope with that. 286 // theory Google update can cope with that.
287 DCHECK(window != NULL) << "Failed to find a valid window handle on thread: " 287 DCHECK(window != NULL) << "Failed to find a valid window handle on thread: "
288 << GetCurrentThreadId(); 288 << GetCurrentThreadId();
289 #endif 289 #endif
290 return window; 290 return window;
291 } 291 }
292 292
293 } // namespace 293 } // namespace
294 294
295 VersionUpdater* VersionUpdater::Create() { 295 VersionUpdater* VersionUpdater::Create(content::BrowserContext* /* context */) {
296 return new VersionUpdaterWin; 296 return new VersionUpdaterWin;
297 } 297 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698