| 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 #include "webkit/browser/appcache/appcache_service.h" |    5 #include "webkit/browser/appcache/appcache_service.h" | 
|    6  |    6  | 
|    7 #include <functional> |    7 #include <functional> | 
|    8  |    8  | 
|    9 #include "base/bind.h" |    9 #include "base/bind.h" | 
|   10 #include "base/bind_helpers.h" |   10 #include "base/bind_helpers.h" | 
|   11 #include "base/logging.h" |   11 #include "base/logging.h" | 
|   12 #include "base/message_loop.h" |   12 #include "base/message_loop/message_loop.h" | 
|   13 #include "base/stl_util.h" |   13 #include "base/stl_util.h" | 
|   14 #include "net/base/completion_callback.h" |   14 #include "net/base/completion_callback.h" | 
|   15 #include "net/base/io_buffer.h" |   15 #include "net/base/io_buffer.h" | 
|   16 #include "webkit/browser/appcache/appcache.h" |   16 #include "webkit/browser/appcache/appcache.h" | 
|   17 #include "webkit/browser/appcache/appcache_backend_impl.h" |   17 #include "webkit/browser/appcache/appcache_backend_impl.h" | 
|   18 #include "webkit/browser/appcache/appcache_entry.h" |   18 #include "webkit/browser/appcache/appcache_entry.h" | 
|   19 #include "webkit/browser/appcache/appcache_executable_handler.h" |   19 #include "webkit/browser/appcache/appcache_executable_handler.h" | 
|   20 #include "webkit/browser/appcache/appcache_histograms.h" |   20 #include "webkit/browser/appcache/appcache_histograms.h" | 
|   21 #include "webkit/browser/appcache/appcache_policy.h" |   21 #include "webkit/browser/appcache/appcache_policy.h" | 
|   22 #include "webkit/browser/appcache/appcache_quota_client.h" |   22 #include "webkit/browser/appcache/appcache_quota_client.h" | 
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  512   backends_.insert( |  512   backends_.insert( | 
|  513       BackendMap::value_type(backend_impl->process_id(), backend_impl)); |  513       BackendMap::value_type(backend_impl->process_id(), backend_impl)); | 
|  514 } |  514 } | 
|  515  |  515  | 
|  516 void AppCacheService::UnregisterBackend( |  516 void AppCacheService::UnregisterBackend( | 
|  517     AppCacheBackendImpl* backend_impl) { |  517     AppCacheBackendImpl* backend_impl) { | 
|  518   backends_.erase(backend_impl->process_id()); |  518   backends_.erase(backend_impl->process_id()); | 
|  519 } |  519 } | 
|  520  |  520  | 
|  521 }  // namespace appcache |  521 }  // namespace appcache | 
| OLD | NEW |