OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ | 6 #define EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 | 12 |
13 class ValueStore; | 13 class ValueStore; |
14 | 14 |
15 namespace extensions { | 15 namespace extensions { |
16 | 16 |
(...skipping 15 matching lines...) Expand all Loading... |
32 virtual void DeleteDatabaseIfExists(const base::FilePath& base_path, | 32 virtual void DeleteDatabaseIfExists(const base::FilePath& base_path, |
33 const std::string& extension_id) = 0; | 33 const std::string& extension_id) = 0; |
34 | 34 |
35 protected: | 35 protected: |
36 friend class base::RefCountedThreadSafe<SettingsStorageFactory>; | 36 friend class base::RefCountedThreadSafe<SettingsStorageFactory>; |
37 virtual ~SettingsStorageFactory() {} | 37 virtual ~SettingsStorageFactory() {} |
38 }; | 38 }; |
39 | 39 |
40 } // namespace extensions | 40 } // namespace extensions |
41 | 41 |
42 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ | 42 #endif // EXTENSIONS_BROWSER_API_STORAGE_SETTINGS_STORAGE_FACTORY_H_ |
OLD | NEW |