OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INFO_MAP_H_ | 5 #ifndef EXTENSIONS_BROWSER_INFO_MAP_H_ |
6 #define EXTENSIONS_BROWSER_INFO_MAP_H_ | 6 #define EXTENSIONS_BROWSER_INFO_MAP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "extensions/browser/process_map.h" | 14 #include "extensions/browser/process_map.h" |
15 #include "extensions/browser/quota_service.h" | 15 #include "extensions/browser/quota_service.h" |
16 #include "extensions/common/extension_set.h" | 16 #include "extensions/common/extension_set.h" |
| 17 #include "extensions/common/permissions/api_permission.h" |
17 | 18 |
18 namespace extensions { | 19 namespace extensions { |
19 class ContentVerifier; | 20 class ContentVerifier; |
20 class Extension; | 21 class Extension; |
21 | 22 |
22 // Contains extension data that needs to be accessed on the IO thread. It can | 23 // Contains extension data that needs to be accessed on the IO thread. It can |
23 // be created/destroyed on any thread, but all other methods must be called on | 24 // be created/destroyed on any thread, but all other methods must be called on |
24 // the IO thread. | 25 // the IO thread. |
25 class InfoMap : public base::RefCountedThreadSafe<InfoMap> { | 26 class InfoMap : public base::RefCountedThreadSafe<InfoMap> { |
26 public: | 27 public: |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 extensions::ProcessMap worker_process_map_; | 136 extensions::ProcessMap worker_process_map_; |
136 | 137 |
137 int signin_process_id_; | 138 int signin_process_id_; |
138 | 139 |
139 scoped_refptr<ContentVerifier> content_verifier_; | 140 scoped_refptr<ContentVerifier> content_verifier_; |
140 }; | 141 }; |
141 | 142 |
142 } // namespace extensions | 143 } // namespace extensions |
143 | 144 |
144 #endif // EXTENSIONS_BROWSER_INFO_MAP_H_ | 145 #endif // EXTENSIONS_BROWSER_INFO_MAP_H_ |
OLD | NEW |