| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |