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

Unified Diff: components/data_reduction_proxy/core/browser/data_store.cc

Issue 1173343009: LevelDB storage for data reduction proxy to store data usage stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove wrong const Created 5 years, 5 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
Index: components/data_reduction_proxy/core/browser/data_store.cc
diff --git a/components/data_reduction_proxy/core/browser/data_store.cc b/components/data_reduction_proxy/core/browser/data_store.cc
new file mode 100644
index 0000000000000000000000000000000000000000..02ca1c47f1b5b9b6c4485c33938cbbf4ceba3e20
--- /dev/null
+++ b/components/data_reduction_proxy/core/browser/data_store.cc
@@ -0,0 +1,27 @@
+// Copyright 2015 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 "components/data_reduction_proxy/core/browser/data_store.h"
+
+namespace data_reduction_proxy {
+
+DataStore::DataStore() {
+}
+
+DataStore::~DataStore() {
+}
+
+void DataStore::InitializeOnDBThread() {
+}
+
+DataStore::Status DataStore::Get(const std::string& key, std::string* value) {
+ return DataStore::Status::NOT_FOUND;
+}
+
+DataStore::Status DataStore::Put(
+ const std::map<std::string, std::string>& map) {
+ return DataStore::Status::OK;
+}
+
+} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698