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_EXTENSION_INFO_MAP_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INFO_MAP_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INFO_MAP_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INFO_MAP_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/time.h" | 11 #include "base/time.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "chrome/browser/extensions/extensions_quota_service.h" | 14 #include "chrome/browser/extensions/extensions_quota_service.h" |
16 #include "chrome/browser/extensions/process_map.h" | 15 #include "chrome/browser/extensions/process_map.h" |
17 #include "chrome/common/extensions/extension_constants.h" | 16 #include "chrome/common/extensions/extension_constants.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Used by dispatchers to limit API quota for individual extensions. | 92 // Used by dispatchers to limit API quota for individual extensions. |
94 // The ExtensionQutoaService is not thread safe. We need to create and destroy | 93 // The ExtensionQutoaService is not thread safe. We need to create and destroy |
95 // it on the IO thread. | 94 // it on the IO thread. |
96 scoped_ptr<ExtensionsQuotaService> quota_service_; | 95 scoped_ptr<ExtensionsQuotaService> quota_service_; |
97 | 96 |
98 // Assignment of extensions to processes. | 97 // Assignment of extensions to processes. |
99 extensions::ProcessMap process_map_; | 98 extensions::ProcessMap process_map_; |
100 }; | 99 }; |
101 | 100 |
102 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFO_MAP_H_ | 101 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INFO_MAP_H_ |
OLD | NEW |