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

Unified Diff: chrome/browser/extensions/api/storage/settings_storage_factory.h

Issue 11826048: Revert 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: chrome/browser/extensions/api/storage/settings_storage_factory.h
===================================================================
--- chrome/browser/extensions/api/storage/settings_storage_factory.h (revision 176046)
+++ chrome/browser/extensions/api/storage/settings_storage_factory.h (working copy)
@@ -1,36 +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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_
-#define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_
-
-#include <string>
-
-#include "base/file_path.h"
-#include "base/memory/ref_counted.h"
-
-class ValueStore;
-
-namespace extensions {
-
-// Factory for creating SettingStorage instances.
-//
-// Refcouted because it's just too messy to distribute these objects between
-// SettingsBackend instances any other way.
-class SettingsStorageFactory
- : public base::RefCountedThreadSafe<SettingsStorageFactory> {
- public:
- // Creates a new ValueStore area for an extension under |base_path|.
- // Return NULL to indicate failure. Must be called on the FILE thread.
- virtual ValueStore* Create(const FilePath& base_path,
- const std::string& extension_id) = 0;
-
- protected:
- friend class base::RefCountedThreadSafe<SettingsStorageFactory>;
- virtual ~SettingsStorageFactory() {}
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698