| Index: chrome/browser/sync/glue/do_optimistic_refresh_task.cc
|
| diff --git a/chrome/browser/sync/glue/do_optimistic_refresh_task.cc b/chrome/browser/sync/glue/do_optimistic_refresh_task.cc
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..3e4e97c5b34a5410f7342add3aa45a3b4263a075
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/glue/do_optimistic_refresh_task.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/sync/glue/do_optimistic_refresh_Task.h"
|
| +
|
| +#include "chrome/browser/autofill/personal_data_manager.h"
|
| +#include "chrome/browser/browser_thread.h"
|
| +
|
| +namespace browser_sync {
|
| +
|
| +DoOptimisticRefreshTask::DoOptimisticRefreshTask(
|
| + PersonalDataManager* pdm) : pdm_(pdm) {}
|
| +
|
| +DoOptimisticRefreshTask::~DoOptimisticRefreshTask() {}
|
| +
|
| +void DoOptimisticRefreshTask::Run() {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + pdm_->Refresh();
|
| +}
|
| +
|
| +} // namespace browser_sync
|
|
|