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

Unified Diff: chrome/test/base/history_index_restore_observer.cc

Issue 1639463002: Moves HistoryIndexRestoreObserver to components/omnibox/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/test/base/history_index_restore_observer.h ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/history_index_restore_observer.cc
diff --git a/chrome/test/base/history_index_restore_observer.cc b/chrome/test/base/history_index_restore_observer.cc
deleted file mode 100644
index cd54866f135cebb5150396ee8fa170a6f3806cb4..0000000000000000000000000000000000000000
--- a/chrome/test/base/history_index_restore_observer.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2012 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/test/base/history_index_restore_observer.h"
-
-HistoryIndexRestoreObserver::HistoryIndexRestoreObserver(
- const base::Closure& task)
- : task_(task),
- succeeded_(false) {
-}
-
-HistoryIndexRestoreObserver::~HistoryIndexRestoreObserver() {}
-
-void HistoryIndexRestoreObserver::OnCacheRestoreFinished(bool success) {
- succeeded_ = success;
- task_.Run();
-}
« no previous file with comments | « chrome/test/base/history_index_restore_observer.h ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698