| 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" | |
| 17 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
| 18 #include "base/threading/sequenced_worker_pool.h" | |
| 19 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
| 20 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
| 21 #include "extensions/browser/browser_context_keyed_api_factory.h" | 19 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 22 #include "extensions/browser/extension_registry.h" | 20 #include "extensions/browser/extension_registry.h" |
| 23 #include "extensions/browser/extension_registry_observer.h" | 21 #include "extensions/browser/extension_registry_observer.h" |
| 24 #include "extensions/browser/process_manager.h" | 22 #include "extensions/browser/process_manager.h" |
| 25 #include "extensions/browser/process_manager_observer.h" | 23 #include "extensions/browser/process_manager_observer.h" |
| 26 #include "extensions/common/extension.h" | 24 #include "extensions/common/extension.h" |
| 27 | 25 |
| 28 namespace extensions { | 26 namespace extensions { |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 ->GetSequencedTaskRunnerWithShutdownBehavior( | 418 ->GetSequencedTaskRunnerWithShutdownBehavior( |
| 421 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken( | 419 content::BrowserThread::GetBlockingPool()->GetNamedSequenceToken( |
| 422 T::kSequenceToken), | 420 T::kSequenceToken), |
| 423 T::kShutdownBehavior); | 421 T::kShutdownBehavior); |
| 424 } | 422 } |
| 425 }; | 423 }; |
| 426 | 424 |
| 427 } // namespace extensions | 425 } // namespace extensions |
| 428 | 426 |
| 429 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ | 427 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_MANAGER_H_ |
| OLD | NEW |