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

Unified Diff: chrome/browser/sync/glue/do_optimistic_refresh_task.cc

Issue 7967024: Profile shouldn't own PersonalDataManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addresses isherman #11 Created 9 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/glue/do_optimistic_refresh_task.h ('k') | chrome/browser/sync/profile_sync_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 89ca6fd11712f295ea2e5d0ad38093ad032eb44e..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/do_optimistic_refresh_task.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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 "content/browser/browser_thread.h"
-
-namespace browser_sync {
-
-DoOptimisticRefreshForAutofill::DoOptimisticRefreshForAutofill(
- PersonalDataManager* pdm) : pdm_(pdm) {}
-
-DoOptimisticRefreshForAutofill::~DoOptimisticRefreshForAutofill() {}
-
-void DoOptimisticRefreshForAutofill::Run() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- pdm_->Refresh();
-}
-
-} // namespace browser_sync
-
« no previous file with comments | « chrome/browser/sync/glue/do_optimistic_refresh_task.h ('k') | chrome/browser/sync/profile_sync_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698