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

Side by Side Diff: chrome/browser/extensions/settings/leveldb_settings_storage_factory.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H_
7 #pragma once
8 7
9 #include "chrome/browser/extensions/settings/settings_storage_factory.h" 8 #include "chrome/browser/extensions/settings/settings_storage_factory.h"
10 9
11 namespace extensions { 10 namespace extensions {
12 11
13 // Factory for creating LeveldbValueStore instances. 12 // Factory for creating LeveldbValueStore instances.
14 class LeveldbSettingsStorageFactory : public SettingsStorageFactory { 13 class LeveldbSettingsStorageFactory : public SettingsStorageFactory {
15 public: 14 public:
16 virtual ValueStore* Create( 15 virtual ValueStore* Create(
17 const FilePath& base_path, 16 const FilePath& base_path,
18 const std::string& extension_id) OVERRIDE; 17 const std::string& extension_id) OVERRIDE;
19 18
20 private: 19 private:
21 // SettingsStorageFactory is refcounted. 20 // SettingsStorageFactory is refcounted.
22 virtual ~LeveldbSettingsStorageFactory() {} 21 virtual ~LeveldbSettingsStorageFactory() {}
23 }; 22 };
24 23
25 } // namespace extensions 24 } // namespace extensions
26 25
27 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H _ 26 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_LEVELDB_SETTINGS_STORAGE_FACTORY_H _
OLDNEW
« no previous file with comments | « chrome/browser/extensions/script_executor_impl.h ('k') | chrome/browser/extensions/settings/setting_sync_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698