OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_API_API_RESOURCE_MANAGER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ |
6 #define EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ | 6 #define EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
15 #include "base/sequence_checker.h" | 15 #include "base/sequence_checker.h" |
| 16 #include "base/sequenced_task_runner.h" |
16 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 18 #include "base/threading/sequenced_worker_pool.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 19 #include "components/keyed_service/core/keyed_service.h" |
18 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
19 #include "extensions/browser/browser_context_keyed_api_factory.h" | 21 #include "extensions/browser/browser_context_keyed_api_factory.h" |
20 #include "extensions/browser/extension_registry.h" | 22 #include "extensions/browser/extension_registry.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 23 #include "extensions/browser/extension_registry_observer.h" |
22 #include "extensions/browser/process_manager.h" | 24 #include "extensions/browser/process_manager.h" |
23 #include "extensions/browser/process_manager_observer.h" | 25 #include "extensions/browser/process_manager_observer.h" |
24 #include "extensions/common/extension.h" | 26 #include "extensions/common/extension.h" |
25 | 27 |
26 namespace extensions { | 28 namespace extensions { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 ->GetSequencedTaskRunnerWithShutdownBehavior( | 420 ->GetSequencedTaskRunnerWithShutdownBehavior( |
419 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken( | 421 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken( |
420 T::kSequenceToken), | 422 T::kSequenceToken), |
421 T::kShutdownBehavior); | 423 T::kShutdownBehavior); |
422 } | 424 } |
423 }; | 425 }; |
424 | 426 |
425 } // namespace extensions | 427 } // namespace extensions |
426 | 428 |
427 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ | 429 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ |
OLD | NEW |