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

Unified Diff: chrome/browser/extensions/settings/in_memory_settings_storage.h

Issue 8539037: Extension Settings API: make it so that when changes received from Sync fail to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, sync Created 9 years, 1 month 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 | « no previous file | chrome/browser/extensions/settings/in_memory_settings_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/settings/in_memory_settings_storage.h
diff --git a/chrome/browser/extensions/settings/in_memory_settings_storage.h b/chrome/browser/extensions/settings/in_memory_settings_storage.h
deleted file mode 100644
index 9fa83d32ae88b66aac129073aa72eed8c2365ee4..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/settings/in_memory_settings_storage.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_IN_MEMORY_SETTINGS_STORAGE_H_
-#define CHROME_BROWSER_EXTENSIONS_SETTINGS_IN_MEMORY_SETTINGS_STORAGE_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/extensions/settings/settings_storage.h"
-
-namespace extensions {
-
-// In-memory storage, as opposed to SettingsLeveldbStorage.
-class InMemorySettingsStorage : public SettingsStorage {
- public:
- InMemorySettingsStorage() {}
-
- // SettingsStorage implementation.
- virtual ReadResult Get(const std::string& key) OVERRIDE;
- virtual ReadResult Get(const std::vector<std::string>& keys) OVERRIDE;
- virtual ReadResult Get() OVERRIDE;
- virtual WriteResult Set(const std::string& key, const Value& value) OVERRIDE;
- virtual WriteResult Set(const DictionaryValue& values) OVERRIDE;
- virtual WriteResult Remove(const std::string& key) OVERRIDE;
- virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
- virtual WriteResult Clear() OVERRIDE;
-
- private:
- DictionaryValue storage_;
-
- DISALLOW_COPY_AND_ASSIGN(InMemorySettingsStorage);
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_IN_MEMORY_SETTINGS_STORAGE_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/settings/in_memory_settings_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698