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 #include "content/browser/appcache/appcache_service_impl.h" | 5 #include "content/browser/appcache/appcache_service_impl.h" |
6 | 6 |
7 #include <functional> | 7 #include <functional> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
18 #include "content/browser/appcache/appcache.h" | 18 #include "content/browser/appcache/appcache.h" |
19 #include "content/browser/appcache/appcache_backend_impl.h" | 19 #include "content/browser/appcache/appcache_backend_impl.h" |
20 #include "content/browser/appcache/appcache_entry.h" | 20 #include "content/browser/appcache/appcache_entry.h" |
21 #include "content/browser/appcache/appcache_executable_handler.h" | 21 #include "content/browser/appcache/appcache_executable_handler.h" |
22 #include "content/browser/appcache/appcache_histograms.h" | 22 #include "content/browser/appcache/appcache_histograms.h" |
23 #include "content/browser/appcache/appcache_policy.h" | 23 #include "content/browser/appcache/appcache_policy.h" |
24 #include "content/browser/appcache/appcache_quota_client.h" | 24 #include "content/browser/appcache/appcache_quota_client.h" |
25 #include "content/browser/appcache/appcache_response.h" | 25 #include "content/browser/appcache/appcache_response.h" |
26 #include "content/browser/appcache/appcache_service_impl.h" | 26 #include "content/browser/appcache/appcache_service_impl.h" |
27 #include "content/browser/appcache/appcache_storage_impl.h" | 27 #include "content/browser/appcache/appcache_storage_impl.h" |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 backends_.insert( | 517 backends_.insert( |
518 BackendMap::value_type(backend_impl->process_id(), backend_impl)); | 518 BackendMap::value_type(backend_impl->process_id(), backend_impl)); |
519 } | 519 } |
520 | 520 |
521 void AppCacheServiceImpl::UnregisterBackend( | 521 void AppCacheServiceImpl::UnregisterBackend( |
522 AppCacheBackendImpl* backend_impl) { | 522 AppCacheBackendImpl* backend_impl) { |
523 backends_.erase(backend_impl->process_id()); | 523 backends_.erase(backend_impl->process_id()); |
524 } | 524 } |
525 | 525 |
526 } // namespace content | 526 } // namespace content |
OLD | NEW |