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

Unified Diff: components/download/internal/test/noop_store.cc

Issue 2881173003: Download Service : Added leveldb proto layer (Closed)
Patch Set: Removed Model::Destroy Created 3 years, 7 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 | « components/download/internal/test/noop_store.h ('k') | components/download/internal/test/test_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/internal/test/noop_store.cc
diff --git a/components/download/internal/noop_store.cc b/components/download/internal/test/noop_store.cc
similarity index 86%
rename from components/download/internal/noop_store.cc
rename to components/download/internal/test/noop_store.cc
index 42785cbc5b191709ce78182dc5565882fc269c1f..59931bb66b56f61004f4a4ba897d4b65cec05534 100644
--- a/components/download/internal/noop_store.cc
+++ b/components/download/internal/test/noop_store.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/download/internal/noop_store.h"
+#include "components/download/internal/test/noop_store.h"
#include "base/bind.h"
#include "base/threading/thread_task_runner_handle.h"
@@ -27,11 +27,6 @@ void NoopStore::Initialize(InitCallback callback) {
std::move(callback)));
}
-void NoopStore::Destroy(StoreCallback callback) {
- base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::BindOnce(std::move(callback), true /** success */));
-}
-
void NoopStore::Update(const Entry& entry, StoreCallback callback) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::BindOnce(std::move(callback), true /** success */));
« no previous file with comments | « components/download/internal/test/noop_store.h ('k') | components/download/internal/test/test_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698