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

Side by Side Diff: extensions/browser/value_store/value_store_factory_impl.h

Issue 2106073006: [Extensions] Pull ExtensionId into its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « extensions/browser/value_store/value_store_factory.h ('k') | extensions/common/extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_ 5 #ifndef EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_
6 #define EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_ 6 #define EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "extensions/browser/value_store/value_store.h" 14 #include "extensions/browser/value_store/value_store.h"
15 #include "extensions/browser/value_store/value_store_factory.h" 15 #include "extensions/browser/value_store/value_store_factory.h"
16 #include "extensions/common/extension.h" 16 #include "extensions/common/extension_id.h"
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 class LegacyValueStoreFactory; 20 class LegacyValueStoreFactory;
21 21
22 // Mint new |ValueStore| instances for use by the extensions system. These are 22 // Mint new |ValueStore| instances for use by the extensions system. These are
23 // used for extension rules, state, and settings. 23 // used for extension rules, state, and settings.
24 class ValueStoreFactoryImpl : public ValueStoreFactory { 24 class ValueStoreFactoryImpl : public ValueStoreFactory {
25 public: 25 public:
26 explicit ValueStoreFactoryImpl(const base::FilePath& profile_path); 26 explicit ValueStoreFactoryImpl(const base::FilePath& profile_path);
(...skipping 20 matching lines...) Expand all
47 ~ValueStoreFactoryImpl() override; 47 ~ValueStoreFactoryImpl() override;
48 48
49 scoped_refptr<LegacyValueStoreFactory> legacy_factory_; 49 scoped_refptr<LegacyValueStoreFactory> legacy_factory_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(ValueStoreFactoryImpl); 51 DISALLOW_COPY_AND_ASSIGN(ValueStoreFactoryImpl);
52 }; 52 };
53 53
54 } // namespace extensions 54 } // namespace extensions
55 55
56 #endif // EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_ 56 #endif // EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « extensions/browser/value_store/value_store_factory.h ('k') | extensions/common/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698