| 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 "chrome/common/extensions/extension_set.h" | |
| 15 #include "extensions/browser/process_map.h" | 14 #include "extensions/browser/process_map.h" |
| 16 #include "extensions/browser/quota_service.h" | 15 #include "extensions/browser/quota_service.h" |
| 16 #include "extensions/common/extension_set.h" |
| 17 | 17 |
| 18 namespace extensions { | 18 namespace extensions { |
| 19 class Extension; | 19 class Extension; |
| 20 | 20 |
| 21 // Contains extension data that needs to be accessed on the IO thread. It can | 21 // Contains extension data that needs to be accessed on the IO thread. It can |
| 22 // be created/destroyed on any thread, but all other methods must be called on | 22 // be created/destroyed on any thread, but all other methods must be called on |
| 23 // the IO thread. | 23 // the IO thread. |
| 24 class InfoMap : public base::RefCountedThreadSafe<InfoMap> { | 24 class InfoMap : public base::RefCountedThreadSafe<InfoMap> { |
| 25 public: | 25 public: |
| 26 InfoMap(); | 26 InfoMap(); |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 // Assignment of extensions to processes. | 116 // Assignment of extensions to processes. |
| 117 extensions::ProcessMap process_map_; | 117 extensions::ProcessMap process_map_; |
| 118 | 118 |
| 119 int signin_process_id_; | 119 int signin_process_id_; |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace extensions | 122 } // namespace extensions |
| 123 | 123 |
| 124 #endif // EXTENSIONS_BROWSER_INFO_MAP_H_ | 124 #endif // EXTENSIONS_BROWSER_INFO_MAP_H_ |
| OLD | NEW |