Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/sync/glue/do_optimistic_refresh_task.h" | |
| 6 | |
| 7 #include "chrome/browser/autofill/personal_data_manager.h" | |
| 8 #include "chrome/browser/browser_thread.h" | |
| 9 | |
| 10 namespace browser_sync { | |
| 11 | |
| 12 DoOptimisticRefreshForAutofill::DoOptimisticRefreshForAutofill( | |
| 13 PersonalDataManager* pdm) : pdm_(pdm) {} | |
|
tim (not reviewing)
2010/12/15 20:11:42
nit - extra space before ':'
PersonalDataManager*
lipalani
2010/12/15 21:28:15
Done.
| |
| 14 | |
| 15 DoOptimisticRefreshForAutofill::~DoOptimisticRefreshForAutofill() {} | |
| 16 | |
| 17 void DoOptimisticRefreshForAutofill::Run() { | |
| 18 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | |
| 19 pdm_->Refresh(); | |
| 20 } | |
| 21 | |
| 22 } // namespace browser_sync | |
| 23 | |
| OLD | NEW |